Classes/Domain/Repository/QueueRepository.php
public function countOpenByIdentifier($identifier): int
    {
        $queryBuilder = $this->createQuery();
        $where = $queryBuilder->expr()->andX(
            $queryBuilder->expr()->eq('cache_url', $queryBuilder->createNamedParameter($identifier)),
            $queryBuilder->expr()->eq('call_date', $queryBuilder->createNamedParameter(0))
        );

        return (int)$queryBuilder->select('uid')
            ->from($this->getTableName())
            ->where($where)
            ->execute()
            ->rowCount();
    }
public function countOpenByIdentifier($identifier): int
    {
        $queryBuilder = $this->createQuery();
        $where = $queryBuilder->expr()->andX(
            $queryBuilder->expr()->eq('cache_url', $queryBuilder->createNamedParameter($identifier)),
            $queryBuilder->expr()->eq('call_date', $queryBuilder->createNamedParameter(0))
        );

        return (int)$queryBuilder->select('uid')
            ->from($this->getTableName())
            ->where($where)
            ->execute()
            ->rowCount();
    }
public function countOpenByIdentifier ( $ identifier ) : int { $ queryBuilder = $ this -> createQuery ( ) ; $ where = $ queryBuilder -> expr ( ) -> andX ( $ queryBuilder -> expr ( ) -> eq ( 'cache_url' , $ queryBuilder -> createNamedParameter ( $ identifier ) ) , $ queryBuilder -> expr ( ) -> eq ( 'call_date' , $ queryBuilder -> createNamedParameter ( 0 ) ) ) ; return ( int ) $ queryBuilder -> select ( 'uid' ) -> from ( $ this -> getTableName ( ) ) -> where ( $ where ) -> execute ( ) -> rowCount ( ) ; }
Find open by identnfier.

@param string $identifier

@return int
Find open by identnfier .