public function addRouteAlias($routeName, $alias)
    {
        if(is_array($alias))
            foreach($alias as $item)
                $this->aliasIndices[$item] = $routeName;
        else
            $this->aliasIndices[$alias] = $routeName;

        return $this;
    }
public function addRouteAlias($routeName, $alias)
    {
        if(is_array($alias))
            foreach($alias as $item)
                $this->aliasIndices[$item] = $routeName;
        else
            $this->aliasIndices[$alias] = $routeName;

        return $this;
    }
public function addRouteAlias ( $ routeName , $ alias ) { if ( is_array ( $ alias ) ) foreach ( $ alias as $ item ) $ this -> aliasIndices [ $ item ] = $ routeName ; else $ this -> aliasIndices [ $ alias ] = $ routeName ; return $ this ; }
Set alias for given route

@param string $routeName
@param string $alias
@return $this
Set alias for given route