ReadmeGenerator::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 5
cts 5
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 2
crap 1
1
<?php namespace Packedge\Workbench\Generators;
2
3
use Illuminate\Filesystem\Filesystem;
4
use Mustache_Engine;
5
6
class ReadmeGenerator extends BaseGenerator implements GeneratorInterface
7
{
8 9
    public function __construct(Filesystem $filesystem = null, Mustache_Engine $mustache = null)
9
    {
10 9
        parent::__construct($filesystem, $mustache);
11 9
        $this->templatePath = 'readme.txt';
12 9
        $this->outputPath = 'README.md';
13
    }
14
}