/**
* Calls the named method which is not a class method.
*
* Do not call this method directly as it is a PHP magic method that
* will be implicitly called when an unknown method is being invoked.
* @param string $method the method name
* @param array $params method parameters
* @throws UnknownMethodException when calling unknown method
* @return mixed the method return value
*/
public function __call($method, $params)
{
// TODO: Change the autogenerated stub
if (method_exists($this->instance, $method)) {
return call_user_func_array([$this->instance, $method], $params);
}
parent::__call($method, $params);
}