private function addSimpleRoute($expression, $route)
    {
        if (array_key_exists($expression, $this->simpleRoutes) && $this->simpleRoutes[$expression] == $route) {
            return false;
        }
        $this->simpleRoutes[$expression] = (string) $route;
        return true;
    }
private function addSimpleRoute($expression, $route)
    {
        if (array_key_exists($expression, $this->simpleRoutes) && $this->simpleRoutes[$expression] == $route) {
            return false;
        }
        $this->simpleRoutes[$expression] = (string) $route;
        return true;
    }
private function addSimpleRoute ( $ expression , $ route ) { if ( array_key_exists ( $ expression , $ this -> simpleRoutes ) && $ this -> simpleRoutes [ $ expression ] == $ route ) { return false ; } $ this -> simpleRoutes [ $ expression ] = ( string ) $ route ; return true ; }
Add new simple route.

@param string $expression Simple route expression.
@param string $route Route name.

@return bool True, if route has been set, false otherwise.
Add new simple route .