/** * Gets the command string to be executed * @return string */ public function getCmdString() { // Add no-debug arg if it isn't already present if (!$this->debug && !$this->isNoDebugArgPresent()) { $this->createArg()->setName("no-debug"); } $cmd = array(Commandline::quoteArgument($this->console), $this->command, implode(' ', $this->args)); $cmd = implode(' ', $cmd); return $cmd; }