toString()); } public function getCustomerByEmail(Email $email): ?Customer { return Customer::where('email', $email->value)->first(); } }