Programming Language PHP

Namespace Oro\Bundle\SalesBundle\Entity

Class LeadPhone

Method/Function setOwner

Total Examples 1

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

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