for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
* http://www.ec-cube.co.jp/
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Eccube\Repository;
use Eccube\Entity\MailTemplate;
use Symfony\Bridge\Doctrine\RegistryInterface;
/**
* MailTemplateRepository
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
class MailTemplateRepository extends AbstractRepository
{
public function __construct(RegistryInterface $registry)
parent::__construct($registry, MailTemplate::class);
}
* getList
* @return array|null
public function getList()
$qb = $this->createQueryBuilder('m')
->orderBy('m.id');
return $qb->getQuery()
->getResult();