* * @method Step|null find($id, $lockMode = null, $lockVersion = null) * @method Step|null findOneBy(array $criteria, array $orderBy = null) * @method Step[] findAll() * @method Step[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) */ class StepRepository extends ServiceEntityRepository { /** * StepRepository constructor. * * @param ManagerRegistry $registry */ public function __construct(ManagerRegistry $registry) { parent::__construct($registry, Step::class); } // /** // * @return Step[] Returns an array of Step objects // */ /* public function findByExampleField($value) { return $this->createQueryBuilder('s') ->andWhere('s.exampleField = :val') ->setParameter('val', $value) ->orderBy('s.id', 'ASC') ->setMaxResults(10) ->getQuery() ->getResult() ; } */ /* public function findOneBySomeField($value): ?Step { return $this->createQueryBuilder('s') ->andWhere('s.exampleField = :val') ->setParameter('val', $value) ->getQuery() ->getOneOrNullResult() ; } */ }