Total Complexity | 10 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | abstract class AbstractEntryProvider implements EntryProvider |
||
13 | { |
||
14 | /** |
||
15 | * Returns a new instance of the entry provider. |
||
16 | * @return EntryProvider New entry provider instance initialized with default constructor |
||
17 | */ |
||
18 | 2 | public static function initialize(): EntryProvider |
|
21 | } |
||
22 | |||
23 | /** |
||
24 | * Returns provided list of all classes returned by the container methods. |
||
25 | * @return string[] Provided list of all classes returned by the container methods |
||
26 | */ |
||
27 | 1 | public function getMethods(): array |
|
41 | } |
||
42 | |||
43 | /** |
||
44 | * Tells the identifier to use for the given provider method. |
||
45 | * @param \ReflectionMethod $method The provider method |
||
46 | * @return string|null The identifier for the method or null if not applicable |
||
47 | */ |
||
48 | 1 | private function getMethodIdentifier(\ReflectionMethod $method): ?string |
|
67 |