WordPress\AiClientDependencies\Psr\Http\Message
StreamFactoryInterface::createStream
Create a new stream from a string.
The stream SHOULD be created with a temporary resource.
Метод класса: StreamFactoryInterface{}
Хуков нет.
Возвращает
StreamInterface.
Использование
$StreamFactoryInterface = new StreamFactoryInterface(); $StreamFactoryInterface->createStream( $content ): StreamInterface;
- $content(строка)
- String content with which to populate the stream.
По умолчанию:''
Код StreamFactoryInterface::createStream() StreamFactoryInterface::createStream WP 7.1.4
public function createStream(string $content = ''): StreamInterface;