Programming Language PHP
Namespace Oro\Bundle\SalesBundle\Entity
Class B2bCustomerPhone
Method/Function setOwner
Total Examples 1
1 code examples of PHP Oro\Bundle\SalesBundle\Entity\B2bCustomerPhone::setOwner extracted from open source projects
protected function onSuccess(B2bCustomerPhone $entity, B2bCustomer $customer)
{
$entity->setOwner($customer);
$this->manager->persist($entity);
$this->manager->flush();
}