src/Api/UserAgentGenerator.php
public function getUserAgent(): string
    {
        if (null === $this->cachedUserAgent) {
            $this->cachedUserAgent = $this->generate();
        }

        return $this->cachedUserAgent;
    }
public function getUserAgent(): string
    {
        if (null === $this->cachedUserAgent) {
            $this->cachedUserAgent = $this->generate();
        }

        return $this->cachedUserAgent;
    }
public function getUserAgent ( ) : string { if ( null === $ this -> cachedUserAgent ) { $ this -> cachedUserAgent = $ this -> generate ( ) ; } return $ this -> cachedUserAgent ; }
Returns the value of the User-Agent header for any requests made to Contentful.

@return string
Returns the value of the User - Agent header for any requests made to Contentful .