protected function readCustomCommandsFromConfig()
    {
        $this->getCoreArguments(); // Maybe load outside configfile

        $config = Configuration::config();

        if (empty($config['extensions']['commands'])) {
            return;
        }

        foreach ($config['extensions']['commands'] as $commandClass) {
            $commandName = $this->getCustomCommandName($commandClass);
            $this->add(new $commandClass($commandName));
        }
    }
protected function readCustomCommandsFromConfig()
    {
        $this->getCoreArguments(); // Maybe load outside configfile

        $config = Configuration::config();

        if (empty($config['extensions']['commands'])) {
            return;
        }

        foreach ($config['extensions']['commands'] as $commandClass) {
            $commandName = $this->getCustomCommandName($commandClass);
            $this->add(new $commandClass($commandName));
        }
    }
protected function readCustomCommandsFromConfig ( ) { $ this -> getCoreArguments ( ) ; // Maybe load outside configfile $ config = Configuration :: config ( ) ; if ( empty ( $ config [ 'extensions' ] [ 'commands' ] ) ) { return ; } foreach ( $ config [ 'extensions' ] [ 'commands' ] as $ commandClass ) { $ commandName = $ this -> getCustomCommandName ( $ commandClass ) ; $ this -> add ( new $ commandClass ( $ commandName ) ) ; } }
Search custom commands and register them.

@throws ConfigurationException
Search custom commands and register them .