Nwidart\Modules\Json::__call PHP Method

__call() public method

Handle call to __call method.
public __call ( string $method, array $arguments = [] ) : mixed
$method string
$arguments array
return mixed
    public function __call($method, $arguments = [])
    {
        if (method_exists($this, $method)) {
            return call_user_func_array([$this, $method], $arguments);
        }
        return call_user_func_array([$this->attributes, $method], $arguments);
    }