the object $bucket which is returned also includes a third parameter, $bucket->bucket, which is a reference to the resource
(PHP 5, PHP 7, PHP 8)
stream_bucket_make_writeable — Devuelve un objeto recipiente desde una cadena de recipientes para operarar con él