1 code examples of PHP Oro\Bundle\SalesBundle\Entity\LeadPhone extracted from open source projects
protected function onSuccess(LeadPhone $entity, Lead $lead)
{
$entity->setOwner($lead);
$this->manager->persist($entity);
$this->manager->flush();
}