AddressObserver
class AddressObserver (View source)
Methods
void
ensureOnlyOneDefaultShipping(Address $address)
Ensures that only one default shipping address exists.
void
Details
void
creating(Address $address)
Handle the Address "creating" event.
void
updating(Address $address)
Handle the Address "updating" event.
protected void
ensureOnlyOneDefaultShipping(Address $address)
Ensures that only one default shipping address exists.
protected void
ensureOnlyOneDefaultBilling(Address $address)
Ensures that only one default billing address exists.