| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 57 | public function get(string $classname) : ReflectionComposite |
||
| 58 | { |
||
| 59 | if (!$this->cache->containsKey($classname)) |
||
| 60 | { |
||
| 61 | $this->cache[$classname] = |
||
| 62 | ( |
||
| 63 | ReflectionCompositeFactory::fromClassName |
||
| 64 | ( |
||
| 65 | $classname |
||
| 66 | ) |
||
| 67 | ) |
||
| 68 | ->build(); |
||
| 69 | } |
||
| 70 | |||
| 71 | return $this->cache[$classname]; |
||
| 72 | } |
||
| 73 | } |
||
| 74 |