Overtrue\PHPLint\Console\Application::getDefinition PHP Method

getDefinition() public method

Overridden so that the application doesn't expect the command name to be the first argument.
public getDefinition ( )
    public function getDefinition()
    {
        $inputDefinition = parent::getDefinition();
        // clear out the normal first argument, which is the command name
        $inputDefinition->setArguments();
        return $inputDefinition;
    }