| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php namespace Packedge\Workbench\Generators; |
||
| 50 | 6 | public function create($packagePath) |
|
| 51 | { |
||
| 52 | 6 | $template = $this->filesystem->get($this->getTemplatePath()); |
|
| 53 | |||
| 54 | 6 | $output = $this->mustache->render($template, $this->data); |
|
| 55 | |||
| 56 | 6 | $this->filesystem->put($packagePath . '/' . $this->outputPath, $output); |
|
| 57 | 6 | } |
|
| 58 | |||
| 73 | } |