bearsunday /
BEAR.AppMeta
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace BEAR\AppMeta; |
||
| 6 | |||
| 7 | use BEAR\Resource\ResourceObject; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @psalm-import-type UriPath from Types |
||
| 11 | * @psalm-import-type FilePath from Types |
||
| 12 | */ |
||
| 13 | final class ResMeta |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param UriPath $uriPath URI path |
||
| 17 | * @param class-string<ResourceObject> $class Resource class name |
||
|
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
| 18 | * @param FilePath $filePath File path |
||
| 19 | */ |
||
| 20 | public function __construct( |
||
| 21 | public readonly string $uriPath, |
||
| 22 | public readonly string $class, |
||
| 23 | public readonly string $filePath, |
||
| 24 | ) { |
||
| 25 | } |
||
| 26 | } |
||
| 27 |