<?php call_user_func(callable $callback, mixed ...$args): mixed
<?php $response = response(SupportPageComponents::renderContentsIntoLayout($html, $layoutConfig)); if (is_callable($layoutConfig->response)) { call_user_func($layoutConfig->response, $response); } return $response;
<?php $validator = Validator::make($data, $rules, $messages, $attributes); if ($this->withValidatorCallback) { call_user_func($this->withValidatorCallback, $validator); $this->withValidatorCallback = null; }
<?php $validator = Validator::make($data, $rulesForField, $messages, $attributes); if ($this->withValidatorCallback) { call_user_func($this->withValidatorCallback, $validator); $this->withValidatorCallback = null; }