Platformsh\Cli\Api::getUserAgent PHP 메소드

getUserAgent() 보호된 메소드

Get an HTTP User Agent string representing this application.
protected getUserAgent ( ) : string
리턴 string
    protected function getUserAgent()
    {
        return sprintf('%s/%s (%s; %s; PHP %s)', str_replace(' ', '-', $this->config->get('application.name')), $this->config->get('application.version'), php_uname('s'), php_uname('r'), PHP_VERSION);
    }