WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

YoastSEO_Vendor\GuzzleHttp\Psr7

InflateStream::__construct() public Yoast 1.0

{} Это метод класса: InflateStream{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

$InflateStream = new InflateStream();
$InflateStream->__construct( \YoastSEO_Vendor\Psr\Http\Message\StreamInterface $stream );

Код InflateStream::__construct() Yoast 15.6.2

<?php
public function __construct(\YoastSEO_Vendor\Psr\Http\Message\StreamInterface $stream)
{
    // read the first 10 bytes, ie. gzip header
    $header = $stream->read(10);
    $filenameHeaderLength = $this->getLengthOfPossibleFilenameHeader($stream, $header);
    // Skip the header, that is 10 + length of filename + 1 (nil) bytes
    $stream = new \YoastSEO_Vendor\GuzzleHttp\Psr7\LimitStream($stream, -1, 10 + $filenameHeaderLength);
    $resource = \YoastSEO_Vendor\GuzzleHttp\Psr7\StreamWrapper::getResource($stream);
    \stream_filter_append($resource, 'zlib.inflate', \STREAM_FILTER_READ);
    $this->stream = $stream->isSeekable() ? new \YoastSEO_Vendor\GuzzleHttp\Psr7\Stream($resource) : new \YoastSEO_Vendor\GuzzleHttp\Psr7\NoSeekStream(new \YoastSEO_Vendor\GuzzleHttp\Psr7\Stream($resource));
}