public function findUriTemplatesByController($controller)
    {
        $result = array();

        foreach ($this->map as $uriTemplate => $options) {
            if (isset($options['controller']) && $options['controller'] == $controller) {
                array_push($result, $uriTemplate);
            }
        }

        return $result;
    }
public function findUriTemplatesByController($controller)
    {
        $result = array();

        foreach ($this->map as $uriTemplate => $options) {
            if (isset($options['controller']) && $options['controller'] == $controller) {
                array_push($result, $uriTemplate);
            }
        }

        return $result;
    }
public function findUriTemplatesByController ( $ controller ) { $ result = array ( ) ; foreach ( $ this -> map as $ uriTemplate => $ options ) { if ( isset ( $ options [ 'controller' ] ) && $ options [ 'controller' ] == $ controller ) { array_push ( $ result , $ uriTemplate ) ; } } return $ result ; }
Finds all URI templates associated with a controller

@param string $controller
@return string
Finds all URI templates associated with a controller