WordPress\AiClientDependencies\Psr\Http\Message

StreamInterface::detach │ public │ WP 1.0

Separates any underlying resources from the stream.

After the stream has been detached, the stream is in an unusable state.

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

Хуков нет.

Возвращает

resource|null. Underlying PHP stream, if any

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

$StreamInterface = new StreamInterface();
$StreamInterface->detach();

Код StreamInterface::detach() WP 7.1.2

public function detach();