| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function init() |
||
| 27 | { |
||
| 28 | parent::init(); |
||
| 29 | |||
| 30 | if ($this->sourcePath === null) { |
||
| 31 | $class = new ReflectionClass($this); |
||
| 32 | return dirname($class->getFileName()) . DIRECTORY_SEPARATOR . $this->defaultSourcePathFolder . DIRECTORY_SEPARATOR . Inflector::camel2id($class->getName()); |
||
|
|
|||
| 33 | } |
||
| 34 | } |
||
| 35 | } |
||
| 36 |