__construct() публичный Метод

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
Пример #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;
 }
Пример #2
0
 public function __construct(PresenterInterface $presenter, IO $io, StatisticsCollector $stats)
 {
     parent::__construct($presenter, $io, $stats);
     $this->initTestCaseNodes();
 }
Пример #3
0
 public function __construct(Html\ReportItemFactory $reportItemFactory, PresenterInterface $presenter, IO $io, StatisticsCollector $stats)
 {
     $this->reportItemFactory = $reportItemFactory;
     parent::__construct($presenter, $io, $stats);
 }