Autarky\Routing\RouterInterface::mount PHP Method

mount() public method

Mount an array config onto the routes.
public mount ( array $routes, string $path = '/' ) : void
$routes array
$path string
return void
    public function mount(array $routes, $path = '/');

Usage Example

 /**
  * {@inheritdoc}
  */
 public function configure()
 {
     $this->router->mount($this->config->get('routes'), '/');
 }