Sulu\Bundle\ContactBundle\Contact\ContactManagerInterface::addAddress PHP Method

addAddress() public method

adds an address to the entity.
public addAddress ( $entity, Address $address, boolean $isMain )
$entity The entity to add the address to
$address Sulu\Bundle\ContactBundle\Entity\Address The address to be added
$isMain boolean Defines if the address is the main Address of the contact
    public function addAddress($entity, Address $address, $isMain);