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

tempestphp / tempest-framework / 14429341969

13 Apr 2025 12:12PM UTC coverage: 80.175% (-1.0%) from 81.217%
14429341969

Pull #1149

github

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

200 of 434 new or added lines in 22 files covered. (46.08%)

11748 of 14653 relevant lines covered (80.17%)

104.55 hits per line

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

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

3
namespace Tempest\Storage\Config;
4

5
use League\Flysystem\FilesystemAdapter;
6

7
use function Tempest\get;
8

9
final class CustomStorageConfig implements StorageConfig
10
{
NEW
11
    public function __construct(
×
12
        /**
13
         * FQCN of the custom Flysystem adapter, resolved through the container.
14
         *
15
         * @var class-string<FilesystemAdapter>
16
         */
17
        public string $adapter,
18

19
        /**
20
         * Whether the storage is read-only.
21
         */
22
        public bool $readonly = false,
NEW
23
    ) {}
×
24

NEW
25
    public function createAdapter(): FilesystemAdapter
×
26
    {
NEW
27
        return get($this->adapter);
×
28
    }
29
}
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