$result = $this->modelsManager->createBuilder('e')
->addFrom('User\Model\Event', 'e')
->leftJoin('User\Model\Follow\User', 'e.user_id = f.author_user_id', 'f')
->where('e.user_id <> '.$userId)
->andWhere('f.user_id = '.$userId)
->getQuery()
->count();
Hi all
Implement new count() method to class
like
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.