closure = $closure; } public function __invoke() { return call_user_func_array($this->closure, func_get_args()); } }