public function runExemplifyCommand($className, $methodName) { $this->commandRunner->runCommand($this->executableFinder->getExecutablePath(), $this->getCommandArguments($className, $methodName)); }
public function runDescCommand($className) { $this->commandRunner->runCommand($this->executableFinder->getExecutablePath(), $this->getCommandArguments($className)); }
/** * @param string $function * * @return bool */ public function functionCanBeUsed($function) { return php_sapi_name() == 'cli' && $this->executableFinder->getExecutablePath() && function_exists($function); }