Trim::class, 'email' => [Lowercase::class, Trim::class], 'postcode' => RemoveNonNumeric::class ]; /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return auth()->check(); } /** * Get the validation rules that apply to the request. * * @return array */ abstract public function rules(): array; }