1 | <?php |
||
9 | class CronJobResultRepository extends EntityRepository |
||
10 | { |
||
11 | public function deleteOldLogs(CronJob $job = null) |
||
|
|||
12 | { |
||
13 | $this |
||
14 | ->getEntityManager() |
||
15 | ->createQuery('DELETE CronBundle:CronJobResult result') |
||
16 | ->getResult(); |
||
17 | } |
||
18 | |||
19 | public function findLastRunForCronJob(CronJob $job) |
||
30 | } |
||
31 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.