Method | Description | |
---|---|---|
__construct ( Sylius\Component\Core\Repository\AddressRepositoryInterface $addressRepository, Doctrine\Common\Persistence\ObjectManager $customerManager ) | ||
iHaveAnAddressInAddressBook ( Sylius\Component\Core\Model\ShopUserInterface $user, Sylius\Component\Core\Model\AddressInterface $address ) | ||
myDefaultAddressIsOf ( Sylius\Component\Core\Model\ShopUserInterface $user, $fullName ) | ||
theirDefaultAddressIs ( Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\AddressInterface $address ) | ||
thisCustomerHasAnAddressInAddressBook ( Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\AddressInterface $address ) |
Method | Description | |
---|---|---|
addAddressToCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\AddressInterface $address ) | ||
setDefaultAddressOfCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\AddressInterface $address ) |
public __construct ( Sylius\Component\Core\Repository\AddressRepositoryInterface $addressRepository, Doctrine\Common\Persistence\ObjectManager $customerManager ) | ||
$addressRepository | Sylius\Component\Core\Repository\AddressRepositoryInterface | |
$customerManager | Doctrine\Common\Persistence\ObjectManager |
public iHaveAnAddressInAddressBook ( Sylius\Component\Core\Model\ShopUserInterface $user, Sylius\Component\Core\Model\AddressInterface $address ) | ||
$user | Sylius\Component\Core\Model\ShopUserInterface | |
$address | Sylius\Component\Core\Model\AddressInterface |
public myDefaultAddressIsOf ( Sylius\Component\Core\Model\ShopUserInterface $user, $fullName ) | ||
$user | Sylius\Component\Core\Model\ShopUserInterface |
public theirDefaultAddressIs ( Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\AddressInterface $address ) | ||
$customer | Sylius\Component\Core\Model\CustomerInterface | |
$address | Sylius\Component\Core\Model\AddressInterface |
public thisCustomerHasAnAddressInAddressBook ( Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\AddressInterface $address ) | ||
$customer | Sylius\Component\Core\Model\CustomerInterface | |
$address | Sylius\Component\Core\Model\AddressInterface |