YoastSEO_Vendor\Psr\Http\Message
MessageInterface::withBody() public Yoast 1.0
Return an instance with the specified message body.
The body MUST be a StreamInterface object.
This method MUST be implemented in such a way as to retain the immutability of the message, and MUST return a new instance that has the new body stream.
{} Это метод класса: MessageInterface{}
Хуков нет.
Возвращает
static
. Ничего.
Использование
$MessageInterface = new MessageInterface(); $MessageInterface->withBody( \YoastSEO_Vendor\Psr\Http\Message\StreamInterface $body );
- \YoastSEO_Vendor\Psr\Http\Message\StreamInterface $body (обязательный)
- -
Код MessageInterface::withBody() MessageInterface::withBody Yoast 16.1.1
public function withBody(\YoastSEO_Vendor\Psr\Http\Message\StreamInterface $body);