protected getAllOptions ( ) : Symfony\Component\Console\Input\InputOption[] | ||
Résultat | Symfony\Component\Console\Input\InputOption[] |
protected function getAllOptions()
{
if (!$this->command) {
return $this->application->getDefinition()->getOptions();
}
return array_merge($this->command->getNativeDefinition()->getOptions(), $this->application->getDefinition()->getOptions());
}