PhpSpec\Formatter\BasicFormatter::__construct PHP Method

__construct() public method

public __construct ( PhpSpec\Formatter\Presenter\Presenter $presenter, PhpSpec\IO\IO $io, PhpSpec\Listener\StatisticsCollector $stats )
$presenter PhpSpec\Formatter\Presenter\Presenter
$io PhpSpec\IO\IO
$stats PhpSpec\Listener\StatisticsCollector
    public function __construct(Presenter $presenter, IO $io, StatisticsCollector $stats)
    {
        $this->presenter = $presenter;
        $this->io = $io;
        $this->stats = $stats;
    }

Usage Example

Beispiel #1
0
 /**
  * @param PresenterInterface  $presenter
  * @param IO                  $io
  * @param StatisticsCollector $stats
  */
 public function __construct(PresenterInterface $presenter, IO $io, StatisticsCollector $stats)
 {
     parent::__construct($presenter, $io, $stats);
     $this->io = $io;
 }
All Usage Examples Of PhpSpec\Formatter\BasicFormatter::__construct