Webmozart\Console\Adapter\ArgsFormatInputDefinition::adaptCommandName PHP Method

adaptCommandName() private method

Creates an input argument for the given command name.
private adaptCommandName ( CommandName $commandName, string $argName ) : Symfony\Component\Console\Input\InputArgument
$commandName Webmozart\Console\Api\Args\Format\CommandName The command name.
$argName string The name of the added argument.
return Symfony\Component\Console\Input\InputArgument The created input argument.
    private function adaptCommandName(CommandName $commandName, $argName)
    {
        return new InputArgument($argName, InputArgument::REQUIRED);
    }