user()?->isMpbaPlatformAdmin(); } /** * @return array */ public function rules(): array { return [ 'display_name' => ['nullable', 'string', 'max:255'], 'is_active' => ['nullable', 'boolean'], 'sort_order' => ['nullable', 'integer', 'min:0', 'max:999999'], 'iso_status' => ['required', 'string', Rule::in(Iso3166::statuses())], 'independent' => ['nullable', 'boolean'], 'region' => ['nullable', 'string', 'max:100'], 'subregion' => ['nullable', 'string', 'max:100'], ]; } }