Set the stream that is wrapped by the object
resource $stream Stream resource to wrap:
int $size Size of the stream in bytes. Only pass if the size cannot be obtained from the stream.:
self
public function setStream($stream, $size = null);