app/functions.php
/**
 * Returns the url based on route and prefix.
 */
Returns the url based on route and prefix.
Returns the url based on route and prefix .
function url($route)
{
    $app = \Liten\Liten::getInstance();
    $url = $app->req->url_for($route);
    return $url;
}
function url ( $ route ) { $ app = \ Liten \ Liten :: getInstance ( ) ; $ url = $ app -> req -> url_for ( $ route ) ; return $ url ; }
Returns the url based on route and prefix.
Returns the url based on route and prefix .