<?php

namespace AppBundle\Entity;

/**
 * TravelPeriodPriceTypeRepository
 *
 * This class was generated by the Doctrine ORM. Add your own custom
 * repository methods below.
 */
class TravelPeriodPriceTypeRepository extends \Doctrine\ORM\EntityRepository
{
    /**
     * @return TravelPeriodPriceType[]
     */
    public function findAllIndexedById()
    {
        return $this->createQueryBuilder('p', 'p.id')->select('p')->getQuery()->execute();
    }
}
