protected function getAllOptions()
    {
        if (!$this->command) {
            return $this->application->getDefinition()->getOptions();
        }

        return array_merge(
            $this->command->getNativeDefinition()->getOptions(),
            $this->application->getDefinition()->getOptions()
        );
    }
protected function getAllOptions()
    {
        if (!$this->command) {
            return $this->application->getDefinition()->getOptions();
        }

        return array_merge(
            $this->command->getNativeDefinition()->getOptions(),
            $this->application->getDefinition()->getOptions()
        );
    }
protected function getAllOptions ( ) { if ( ! $ this -> command ) { return $ this -> application -> getDefinition ( ) -> getOptions ( ) ; } return array_merge ( $ this -> command -> getNativeDefinition ( ) -> getOptions ( ) , $ this -> application -> getDefinition ( ) -> getOptions ( ) ) ; }
Get the combined options of the application and entered command

@return InputOption[]
Get the combined options of the application and entered command