/** * @since Method available since Release 3.6.0 */ public function run() { $this->preparer->prepare(); $commandLine = $this->commandLineBuilder->build(); $this->runTests($commandLine); $this->monitorAlteration($commandLine); }
/** * @param \Stagehand\TestRunner\Preparer\Preparer $preparer * @since Method available since Release 3.6.0 */ public function __construct(Preparer $preparer) { $preparer->prepare(); }
/** * @param \Stagehand\ComponentFactory\IComponentAwareFactory $preparerFactory * @since Method available since Release 3.0.1 */ public function __construct(IComponentAwareFactory $preparerFactory) { $this->preparer = $preparerFactory->create(); $this->preparer->prepare(); }