src/Synapse/Work/AbstractConsoleWork.php
protected function getInputDefinition(array $args)
    {
        $definition = new InputDefinition();

        foreach ($args as $field => $value) {
            $definition->addArgument(new InputArgument($field));
        }

        return $definition;
    }
protected function getInputDefinition(array $args)
    {
        $definition = new InputDefinition();

        foreach ($args as $field => $value) {
            $definition->addArgument(new InputArgument($field));
        }

        return $definition;
    }
protected function getInputDefinition ( array $ args ) { $ definition = new InputDefinition ( ) ; foreach ( $ args as $ field => $ value ) { $ definition -> addArgument ( new InputArgument ( $ field ) ) ; } return $ definition ; }
Get an InputDefinition formed by the arguments provided

Effectively provides a passthrough for any input arguments provided

@param  array  $args Arguments
@return InputDefinition
Get an InputDefinition formed by the arguments provided