system/helpers.php
/**
     * Get uri using roote name
     *
     * @param string $name
     * @return string
     */
Get uri using roote name
@param string $name
@return string
Get uri using roote name @param string $name @return string
function route(string $name)
    {
        if(!isset($_SESSION[$name]))
        {
            throw new Exception
            ("Error Processing Route. The route name {$name} is not registered.\n
            Call the name method on a route request to register its name",
            1);
        }
        return url(session($name));
    }
function route ( string $ name ) { if ( ! isset ( $ _SESSION [ $ name ] ) ) { throw new Exception ( " Error Processing Route. The route name  { $ name }  is not registered. \n 
            Call the name method on a route request to register its name " , 1 ) ; } return url ( session ( $ name ) ) ; }
Get uri using roote name
 @param string $name
 @return string
Get uri using roote name @param string $name @return string