| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2.032 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 42 | 13 | public function generateItemsDirectory() |
|
| 43 | { |
||
| 44 | 13 | $methodName = 'get' . $this->getName() . 'ItemsDirectory'; |
|
|
|
|||
| 45 | 13 | if (method_exists($this->getManager(), $methodName)) { |
|
| 46 | return $this->getManager()->$methodName(); |
||
| 47 | } |
||
| 48 | |||
| 49 | 13 | return $this->generateManagerDirectory() . DIRECTORY_SEPARATOR . $this->generatePropertyDirectory(); |
|
| 50 | } |
||
| 69 | } |