ResMeta::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 3
dl 0
loc 11
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace BEAR\AppMeta;
6
7
use BEAR\Resource\ResourceObject;
8
9
final class ResMeta
10
{
11
    /** @param class-string<ResourceObject> $class */
0 ignored issues
show
Documentation Bug introduced by
The doc comment class-string<ResourceObject> at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string<ResourceObject>.
Loading history...
12
    public function __construct(
13
        /**
14
         * URI path
15
         */
16
        public string $uriPath,
17
        public string $class,
18
        /**
19
         * File path
20
         */
21
        public string $filePath,
22
    ) {
23
    }
24
}
25