addEngine() public method

public addEngine ( PHPSpec2\Formatter\Presenter\Differ\EngineInterface $engine )
$engine PHPSpec2\Formatter\Presenter\Differ\EngineInterface
Example #1
0
 protected function createPresenter()
 {
     $differ = new Presenter\Differ\Differ();
     $differ->addEngine(new Presenter\Differ\StringEngine());
     return new Presenter\TaggedPresenter($differ);
 }