| Total Complexity | 8 |
| Total Lines | 58 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class StaticReflectionService implements ReflectionService |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * {@inheritDoc} |
||
| 21 | */ |
||
| 22 | public function getParentClasses(string $className) : array |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritDoc} |
||
| 29 | */ |
||
| 30 | public function getClassShortName(string $className) : string |
||
| 31 | { |
||
| 32 | if (strpos($className, '\\') !== false) { |
||
| 33 | $className = substr($className, strrpos($className, '\\')+1); |
||
| 34 | } |
||
| 35 | |||
| 36 | return $className; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritDoc} |
||
| 41 | */ |
||
| 42 | public function getClassNamespace(string $className) : string |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * {@inheritDoc} |
||
| 55 | */ |
||
| 56 | public function getClass(string $className) : ?ReflectionClass |
||
| 57 | { |
||
| 58 | return null; |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * {@inheritDoc} |
||
| 63 | */ |
||
| 64 | public function getAccessibleProperty(string $className, string $propertyName) : ?ReflectionProperty |
||
| 67 | } |
||
| 68 | |||
| 69 | /** |
||
| 70 | * {@inheritDoc} |
||
| 71 | */ |
||
| 72 | public function hasPublicMethod(string $className, string $methodName) : bool |
||
| 75 | } |
||
| 76 | } |
||
| 77 |