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