Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
72 | 1 | protected function generateFile(FileGenerator $generator, $path, $fqcn) |
|
73 | { |
||
74 | 1 | list($namespace, $class) = $this->splitFullQualifyClassName($fqcn); |
|
75 | |||
76 | 1 | return $generator->file($path)->template($this->getStub(), [ |
|
77 | 1 | 'namespace' => $namespace, |
|
78 | 1 | 'class' => $class, |
|
79 | ]); |
||
80 | } |
||
81 | } |
||
82 |