| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 12 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 20 | public function findAllActiveByGatewayFactoryName(string $gatewayFactoryName): array | ||
| 21 |     { | ||
| 22 |         return $this->createQueryBuilder('o') | ||
| 23 |             ->innerJoin('o.method', 'method') | ||
| 24 |             ->innerJoin('method.gatewayConfig', 'gatewayConfig') | ||
| 25 |             ->where('gatewayConfig.factoryName = :gatewayFactoryName') | ||
| 26 |             ->andWhere('o.state = :stateNew OR o.state = :stateProcessing') | ||
| 27 |             ->setParameter('gatewayFactoryName', $gatewayFactoryName) | ||
| 28 |             ->setParameter('stateNew', PaymentInterface::STATE_NEW) | ||
| 29 |             ->setParameter('stateProcessing', PaymentInterface::STATE_PROCESSING) | ||
| 30 | ->getQuery() | ||
| 31 | ->getResult() | ||
| 32 | ; | ||
| 35 |