_rules()); } /** * Determine if user authorized to make this request. * * @return bool */ public function authorize(): bool { return Filter::process(Filter::getAuthFilterName(), $this->_authorize()); } /** * Determine if user authorized to make this request. * * @return bool */ abstract protected function _authorize(): bool; /** * Get the validation rules that apply to the request. * * @return array */ abstract protected function _rules(): array; }