getConfig() public method

public getConfig ( $key = null )
Exemplo n.º 1
0
 protected function getRoute()
 {
     $routeConfig = $this->application->getConfig('routes');
     $context = new RequestContext('/');
     $matcher = new UrlMatcher($routeConfig, $context);
     return $matcher->match($_SERVER['REQUEST_URI']);
 }