Programming Language PHP

Namespace Oro\Bundle\CaseBundle\Entity

Class CaseEntity

Total Examples 1

1 code examples of PHP Oro\Bundle\CaseBundle\Entity\CaseEntity extracted from open source projects

Was this example useful?
0
                                                    public function updateCaseRelatedAccount(CaseEntity $caseEntity)
    {
        $contact = $caseEntity->getRelatedContact();
        if (!$contact) {
            return;
        }

        $account = $this->oroProvider->getAccountByContact($contact);
        if (!$account) {
            return;
        }

        $caseEntity->setRelatedAccount($account);
    }
                                            
CaseEntity's Other Methods
CaseEntity's Other Methods