user()->is_admin; } /** @return array */ public function rules(): array { return [ 'file' => [ 'required', 'file', 'mimetypes:audio/flac,audio/mpeg,audio/ogg,audio/x-flac,audio/x-aac', ], ]; } }