protected function getDefaultInputDefinition(): InputDefinition
    {
        $definition = parent::getDefaultInputDefinition();
        $definition->addOption($this->getEnvironmentOption());

        return $definition;
    }
protected function getDefaultInputDefinition(): InputDefinition
    {
        $definition = parent::getDefaultInputDefinition();
        $definition->addOption($this->getEnvironmentOption());

        return $definition;
    }
protected function getDefaultInputDefinition ( ) : InputDefinition { $ definition = parent :: getDefaultInputDefinition ( ) ; $ definition -> addOption ( $ this -> getEnvironmentOption ( ) ) ; return $ definition ; }
Get the default input definitions for the applications.

This is used to add the --env option to every available command.

@return \Symfony\Component\Console\Input\InputDefinition
Get the default input definitions for the applications .