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