phpci = $phpci; } public function execute() { $cwd = getcwd(); $command = 'cd ' . $this->phpci->buildPath . ' && '; $command .= PHPCI_BIN_DIR . 'phpspec'; $command .= ' && cd ' . $cwd; return $this->phpci->executeCommand($command); } }