phasync
RequestBody / detach

Method

RequestBody::detach

Separates any underlying resources from the stream.

Description#

public RequestBody::detach()

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

Return values#

Underlying PHP stream, if any