Stecman\Component\Symfony\Console\BashCompletion\CompletionHandler::getAllOptions PHP Method

getAllOptions() protected method

Get the combined options of the application and entered command
protected getAllOptions ( ) : Symfony\Component\Console\Input\InputOption[]
return 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());
    }