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
protected function onSuccess(LeadPhone $entity, Lead $lead)
{
$entity->setOwner($lead);
$this->manager->persist($entity);
$this->manager->flush();
}