NukeViet\Client\Browser::__toString PHP Метод

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

Returns a formatted string with a summary of the details of the browser.
public __toString ( ) : string
Результат string formatted string with a summary of the browser
    public function __toString()
    {
        return "<strong>Browser Key:</strong> {$this->getBrowserKey()}<br/>\nBrowser Name:</strong> {$this->getBrowser()}<br/>\n" . "<strong>Browser Version:</strong> {$this->getVersion()}<br/>\n" . "<strong>Browser User Agent String:</strong> {$this->getUserAgent()}<br/>\n" . "<strong>Platform:</strong> {$this->getPlatform()}<br/>";
    }