• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tempestphp / tempest-framework / 14424384667

12 Apr 2025 11:48PM UTC coverage: 79.996% (-1.2%) from 81.217%
14424384667

Pull #1149

github

web-flow
Merge a05336432 into 0c553d46c
Pull Request #1149: feat(storage): add storage component

149 of 403 new or added lines in 22 files covered. (36.97%)

11697 of 14622 relevant lines covered (80.0%)

104.56 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Tempest/Storage/src/Config/InMemoryStorageConfig.php
1
<?php
2

3
namespace Tempest\Storage\Config;
4

5
use League\Flysystem\FilesystemAdapter;
6
use League\Flysystem\InMemory\InMemoryFilesystemAdapter;
7

8
final class InMemoryStorageConfig implements StorageConfig
9
{
10
    public string $adapter = InMemoryFilesystemAdapter::class;
11

NEW
12
    public function __construct(
×
13
        /**
14
         * Whether the storage is read-only.
15
         */
16
        public bool $readonly = false,
NEW
17
    ) {}
×
18

NEW
19
    public function createAdapter(): FilesystemAdapter
×
20
    {
NEW
21
        return new InMemoryFilesystemAdapter();
×
22
    }
23
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc