public function execute() { $autoloader = new Autoloader(); $root = new Root($autoloader, $this->enviorment->isDebug(), $this->enviorment->isSilent(), $this->enviorment->getName()); //FIXME wygląda że trzeba będzie tak wywoływać testy funkcjonalne return $root->executeRequestTest($this); }
/** * Execute project command * * @return string result command * @since 0.1.0 */ protected function executeCommand() { ob_start(); $this->root->executeCommand(func_get_args()); $result = ob_get_clean(); ob_flush(); return $result; }