private function StreamHandler::addNotification in Lockr 7.3
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 510
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,
]);
}
}