public function AbstractEntityBodyDecorator::__call

Allow decorators to implement custom methods

@codeCoverageIgnore

Parameters

string $method Missing method name:

array $args Method arguments:

Return value

mixed

File

drupal/core/vendor/guzzle/http/Guzzle/Http/AbstractEntityBodyDecorator.php, line 44

Class

AbstractEntityBodyDecorator
Abstract decorator used to wrap entity bodies

Namespace

Guzzle\Http

Code

public function __call($method, array $args = null) {
  return call_user_func_array(array(
    $this->body,
    $method,
  ), $args);
}