Resque\Commands\Command::mergeDefinitions PHP Метод

mergeDefinitions() защищенный Метод

Globally sets some input options that are available for all commands
protected mergeDefinitions ( array $definitions ) : array
$definitions array List of command definitions
Результат array
    protected function mergeDefinitions(array $definitions)
    {
        return array_merge($definitions, array(new InputOption('config', 'c', InputOption::VALUE_OPTIONAL, 'Path to config file. Inline options override.', Resque::DEFAULT_CONFIG_FILE), new InputOption('include', 'I', InputOption::VALUE_OPTIONAL, 'Path to include php file'), new InputOption('host', 'H', InputOption::VALUE_OPTIONAL, 'The Redis hostname.', Resque\Redis::DEFAULT_HOST), new InputOption('port', 'p', InputOption::VALUE_OPTIONAL, 'The Redis port.', Resque\Redis::DEFAULT_PORT), new InputOption('scheme', null, InputOption::VALUE_REQUIRED, 'The Redis scheme to use.', Resque\Redis::DEFAULT_SCHEME), new InputOption('namespace', null, InputOption::VALUE_REQUIRED, 'The Redis namespace to use. This is prefixed to all keys.', Resque\Redis::DEFAULT_NS), new InputOption('password', null, InputOption::VALUE_OPTIONAL, 'The Redis AUTH password.'), new InputOption('log', null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Specify the handler(s) to use for logging.'), new InputOption('events', 'e', InputOption::VALUE_NONE, 'Outputs all events to the console, for debugging.')));
    }