public function find($url)
    {
        if (!array_key_exists($url, $this->controllerMap)) {
            return null;
        }

        return $this->controllerMap[$url];
    }
public function find($url)
    {
        if (!array_key_exists($url, $this->controllerMap)) {
            return null;
        }

        return $this->controllerMap[$url];
    }
public function find ( $ url ) { if ( ! array_key_exists ( $ url , $ this -> controllerMap ) ) { return null ; } return $ this -> controllerMap [ $ url ] ; }
Finds the controller for the given url.

@param string $url The url to parse.
@return ControllerInterface
Finds the controller for the given url .