Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | public function getIndicatorValue($indicator) |
||
10 | { |
||
11 | $dql = 'SELECT iv FROM Api\Entity\IndicatorValue iv |
||
12 | WHERE iv.indicator = :indicator |
||
13 | ORDER BY iv.year ASC'; |
||
14 | |||
15 | return $this->getEntityManager()->createQuery($dql) |
||
16 | ->setParameter('indicator', $indicator) |
||
17 | ->getArrayResult(); |
||
18 | } |
||
19 | } |
||
21 |