public function StateWrapper::__call in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/State/StateWrapper.php \Drupal\webprofiler\State\StateWrapper::__call()
- 8.2 webprofiler/src/State/StateWrapper.php \Drupal\webprofiler\State\StateWrapper::__call()
- 4.x webprofiler/src/State/StateWrapper.php \Drupal\webprofiler\State\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\StateCode
public function __call($method, $args) {
return call_user_func_array([
$this->state,
$method,
], $args);
}