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

tempestphp / tempest-framework / 14424434409

13 Apr 2025 12:08AM UTC coverage: 80.172% (-1.0%) from 81.217%
14424434409

Pull #1149

github

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

198 of 432 new or added lines in 22 files covered. (45.83%)

11746 of 14651 relevant lines covered (80.17%)

104.57 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