ReadmeGenerator   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 9
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 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
}