private function StreamHandler::addNotification in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php \GuzzleHttp\Handler\StreamHandler::addNotification()
2 calls to StreamHandler::addNotification()
- StreamHandler::add_debug in vendor/
guzzlehttp/ guzzle/ src/ Handler/ StreamHandler.php - StreamHandler::add_progress in vendor/
guzzlehttp/ guzzle/ src/ Handler/ StreamHandler.php
File
- vendor/
guzzlehttp/ guzzle/ src/ Handler/ StreamHandler.php, line 434
Class
- StreamHandler
- HTTP handler that uses PHP's HTTP stream wrapper.
Namespace
GuzzleHttp\HandlerCode
private function addNotification(array &$params, callable $notify) {
// Wrap the existing function if needed.
if (!isset($params['notification'])) {
$params['notification'] = $notify;
}
else {
$params['notification'] = $this
->callArray([
$params['notification'],
$notify,
]);
}
}