PHP Class Autarky\Routing\DefaultRouteConfigurator

Inheritance: implements Autarky\ConfiguratorInterface
Show file Open project: autarky/framework

Protected Properties

Property Type Description
$config Autarky\Config\ConfigInterface The config instance.
$router Autarky\Routing\RouterInterface The router instance.

Public Methods

Method Description
__construct ( Autarky\Routing\RouterInterface $router, Autarky\Config\ConfigInterface $config ) Constructor.
configure ( )

Method Details

__construct() public method

Constructor.
public __construct ( Autarky\Routing\RouterInterface $router, Autarky\Config\ConfigInterface $config )
$router Autarky\Routing\RouterInterface
$config Autarky\Config\ConfigInterface

configure() public method

public configure ( )

Property Details

$config protected property

The config instance.
protected ConfigInterface,Autarky\Config $config
return Autarky\Config\ConfigInterface

$router protected property

The router instance.
protected RouterInterface,Autarky\Routing $router
return Autarky\Routing\RouterInterface