Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 /**
  * 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;
 }