protected function configure(IConfig $config)
    {
        $configuration = $config->get('routes');

        foreach ($configuration as $route)
        {
            $this->map($route);
        }
    }
protected function configure(IConfig $config)
    {
        $configuration = $config->get('routes');

        foreach ($configuration as $route)
        {
            $this->map($route);
        }
    }
protected function configure ( IConfig $ config ) { $ configuration = $ config -> get ( 'routes' ) ; foreach ( $ configuration as $ route ) { $ this -> map ( $ route ) ; } }
Create routes from config.

@param IConfig $config

@throws RouterException
@return void
Create routes from config .