You are here

private function StreamHandler::callArray in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php \GuzzleHttp\Handler\StreamHandler::callArray()
1 call to StreamHandler::callArray()
StreamHandler::addNotification in vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php

File

vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php, line 447

Class

StreamHandler
HTTP handler that uses PHP's HTTP stream wrapper.

Namespace

GuzzleHttp\Handler

Code

private function callArray(array $functions) {
  return function () use ($functions) {
    $args = func_get_args();
    foreach ($functions as $fn) {
      call_user_func_array($fn, $args);
    }
  };
}