Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 3 |
| ProductRepository | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
| getProductListQuery | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| <?php | |
| namespace AppBundle\Repository; | |
| /** | |
| * ProductRepository | |
| * | |
| * This class was generated by the Doctrine ORM. Add your own custom | |
| * repository methods below. | |
| */ | |
| class ProductRepository extends \Doctrine\ORM\EntityRepository | |
| { | |
| /** | |
| * @return \Doctrine\ORM\QueryBuilder | |
| */ | |
| public function getProductListQuery() | |
| { | |
| return $this->createQueryBuilder('p')->orderBy('p.id', 'desc'); | |
| } | |
| } |