Returns a bucket object from the brigade to operate on

# stream_bucket_make_writeable

(PHP 5, PHP 7, PHP 8)

stream_bucket_make_writeable — Returns a bucket object from the brigade to operate on

### Beschreibung

function stream_bucket_make_writeable(resource `$brigade`): ?StreamBucket

This function is called whenever there is the need to access and operate on the content contains in a brigade. It is typically called from php_user_filter::filter().

### Parameter-Liste

`brigade`

  The brigade to return a bucket object from.

### Rückgabewerte

Returns a bucket object or `null`.

### Changelog

Version | Beschreibung
--- | ---
8.4.0 | Diese Funktion gibt nun eine Instanz von StreamBucket zurück; zuvor wurde eine stdClass zurückgegeben.

### Siehe auch

- stream_bucket_append() - Append bucket to brigade
- stream_bucket_prepend() - Prepend bucket to brigade

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open