public function getName() { return $this->name; }
/** * @param $condition * @param $message */ private function assert($condition, $message) { if ($condition) { return; } throw new RuntimeException(sprintf('Command %s is not available because %s.', $this->command->getName(), $message)); }