Programming Language PHP

Namespace Oro\Bundle\ContactBundle\Entity

Class ContactPhone

Method/Function setOwner

Total Examples 1

1 code examples of PHP Oro\Bundle\ContactBundle\Entity\ContactPhone::setOwner extracted from open source projects

Was this example useful?
0
                                                    protected function onSuccess(ContactPhone $entity, Contact $contact)
    {
        $entity->setOwner($contact);
        $this->manager->persist($entity);
        $this->manager->flush();
    }
                                            
ContactPhone's Other Methods