Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
2 / 2 |
CRAP | |
100.00% |
2 / 2 |
FactoryGenBuilder | |
100.00% |
1 / 1 |
|
100.00% |
2 / 2 |
2 | |
100.00% |
2 / 2 |
buildCollectors() | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
buildContext() | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
<?php | |
/* | |
* MondrianCubox | |
*/ | |
namespace Trismegiste\Mondrian\Refactor; | |
use Trismegiste\Mondrian\Visitor; | |
/** | |
* FactoryGenBuilder builds the compiler for the factory generator | |
* refactoring service | |
*/ | |
class FactoryGenBuilder extends RefactoringBuilder | |
{ | |
public function buildCollectors() | |
{ | |
return array(new Visitor\NewInstanceRefactor($this->dumper)); | |
} | |
public function buildContext() | |
{ | |
} | |
} |