Pagekit\Application\UrlProvider::previous PHP Method

previous() public method

Gets the URL for the previous request.
public previous ( ) : string
return string
    public function previous()
    {
        return $this->router->getRequest()->headers->get('referer');
    }