MessageInterface
extends
Stringable
in
Interface MessageInterface.
Tags
Table of Contents
- getBody() : string
- getHeader() : string|null
- getHeaders() : array<string, string>
- getProtocol() : string
- getStartLine() : string
- hasHeader() : bool
Methods
getBody()
public
getBody() : string
Return values
string —getHeader()
public
getHeader(string $name) : string|null
Parameters
- $name : string
Return values
string|null —getHeaders()
public
getHeaders() : array<string, string>
Return values
array<string, string> —getProtocol()
public
getProtocol() : string
Return values
string —getStartLine()
public
getStartLine() : string
Return values
string —hasHeader()
public
hasHeader(string $name[, string|null $value = null ]) : bool
Parameters
- $name : string
- $value : string|null = null