Total Complexity | 5 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class ApiResourceMetadataFactory |
||
16 | { |
||
17 | /** |
||
18 | * @var Reader |
||
19 | */ |
||
20 | private $reader; |
||
21 | |||
22 | /** |
||
23 | * @var ApiResourceFactoryInterface |
||
24 | */ |
||
25 | private $retrieverFactory; |
||
26 | |||
27 | public function __construct(Reader $reader, ApiResourceFactoryInterface $retrieverFactory) |
||
28 | { |
||
29 | $this->reader = $reader; |
||
30 | $this->retrieverFactory = $retrieverFactory; |
||
31 | } |
||
32 | |||
33 | public function getMetadata($classNameOrInstance): ApiResourceClassMetadata |
||
54 | } |
||
55 | } |
||
56 |