andWhere('s.type = :type') ->setParameter('type', SegmentEntity::TYPE_DYNAMIC); } }