public function getAliasForUri($uri)
    {
        $routingConfiguration = ConfigurationManager::getConfiguration()->get('routing');
        $aliasConfiguration = isset($routingConfiguration['alias']) ? $routingConfiguration['alias'] : [];

        return isset($aliasConfiguration[$uri]) ? $aliasConfiguration[$uri] : $uri;
    }
public function getAliasForUri($uri)
    {
        $routingConfiguration = ConfigurationManager::getConfiguration()->get('routing');
        $aliasConfiguration = isset($routingConfiguration['alias']) ? $routingConfiguration['alias'] : [];

        return isset($aliasConfiguration[$uri]) ? $aliasConfiguration[$uri] : $uri;
    }
public function getAliasForUri ( $ uri ) { $ routingConfiguration = ConfigurationManager :: getConfiguration ( ) -> get ( 'routing' ) ; $ aliasConfiguration = isset ( $ routingConfiguration [ 'alias' ] ) ? $ routingConfiguration [ 'alias' ] : [ ] ; return isset ( $ aliasConfiguration [ $ uri ] ) ? $ aliasConfiguration [ $ uri ] : $ uri ; }
Returns the alias for the given URI, or the original URI if no alias is defined

At the current stage this method doesn't do much. It simply returns "/Home/" if the current URI is "/"

@param string $uri
@return string
Returns the alias for the given URI or the original URI if no alias is defined