WordPress\AiClientDependencies\Psr\Http\Message

StreamInterface::getSize │ public │ WP 1.0

Get the size of the stream if known.

Метод класса: StreamInterface{}

Хуков нет.

Возвращает

int|null. Returns the size in bytes if known, or null if unknown.

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

$StreamInterface = new StreamInterface();
$StreamInterface->getSize(): ?int;

Код StreamInterface::getSize() WP 7.1.2

public function getSize(): ?int;