1 code examples of PHP Oro\Bundle\AccountBundle\Event\CollectAccountWebsiteActivityCustomersEvent extracted from open source projects

Was this example useful?
0
                                                    public function onAccountView(CollectAccountWebsiteActivityCustomersEvent $event)
    {
        $customers = $this->doctrine
            ->getRepository('OroMagentoBundle:Customer')
            ->findBy(['account' => $event->getAccountId()]);
        $event->setCustomers($customers);
    }
                                            
CollectAccountWebsiteActivityCustomersEvent's Other Methods
CollectAccountWebsiteActivityCustomersEvent's Other Methods