WordPress\AiClientDependencies\Nyholm\Psr7
Stream::detach
Метод класса: Stream{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Stream = new Stream(); $Stream->detach();
Код Stream::detach() Stream::detach WP 7.1.2
public function detach()
{
if (!isset($this->stream)) {
return null;
}
$result = $this->stream;
unset($this->stream);
$this->size = $this->uri = null;
$this->readable = $this->writable = $this->seekable = \false;
return $result;
}