You are here

private function StreamHandler::callArray in Lockr 7.3

1 call to StreamHandler::callArray()
StreamHandler::addNotification in vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php

File

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

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);
    }
  };
}