public function get(string $path = '/')
    {
        return $this->app->request->base . implode('/', array_map('urlencode', explode('/', $path)));
    }
public function get(string $path = '/')
    {
        return $this->app->request->base . implode('/', array_map('urlencode', explode('/', $path)));
    }
public function get ( string $ path = '/' ) { return $ this -> app -> request -> base . implode ( '/' , array_map ( 'urlencode' , explode ( '/' , $ path ) ) ) ; }
Constructs a url for the path specified.

@param string $path The path.
@return string Absolute URL containing the base URL plus the path given.
Constructs a url for the path specified .