Add third party application webhook event

This commit is contained in:
Nicolas Le Goff
2014-06-23 17:48:42 +02:00
parent 1645d914af
commit 0d040519f3
26 changed files with 1106 additions and 195 deletions

View File

@@ -50,4 +50,12 @@ class ApiApplicationRepository extends EntityRepository
return $qb->getQuery()->getResult();
}
public function findWithDefinedWebhookCallback()
{
$qb = $this->createQueryBuilder('app');
$qb->where($qb->expr()->isNotNull('app.webhookUrl'));
return $qb->getQuery()->getResult();
}
}