function StateWrapper::__call

Passes through all non-tracked calls onto the decorated object.

Parameters

string $method: The called method.

mixed $args: The passed in arguments.

Return value

mixed The return argument of the call.

File

webprofiler/src/State/StateWrapper.php, line 121

Class

StateWrapper
Class StateWrapper.

Namespace

Drupal\webprofiler\State

Code

public function __call($method, $args) {
    return call_user_func_array([
        $this->state,
        $method,
    ], $args);
}