Pop\Web\Mobile::goToDesktop PHP Метод

goToDesktop() публичный Метод

Method to go to the desktop site.
public goToDesktop ( ) : void
Результат void
    public function goToDesktop()
    {
        if (null === $this->desktopUrl) {
            throw new Exception('The desktop site is not set.');
        }
        header("HTTP/1.1 302 Found");
        header("Location: " . $this->desktopUrl);
    }