getHttpVersion() public méthode

public getHttpVersion ( ) : mixed
Résultat mixed
Exemple #1
0
 /**
  * Returns a HTTP status line from specified response.
  *
  * @param Response $response
  * @return string HTTP status line.
  */
 public static function formatAsStatusString(Response $response)
 {
     return 'HTTP/' . $response->getHttpVersion() . ' ' . $response->getStatusCode() . ' ' . $response->getStatusMessage();
 }