| 1 | <?php | ||
| 17 | class TaskEntityRepository extends EntityRepository | ||
| 18 | { | ||
| 19 | /** | ||
| 20 | * Finds all terminated entities. | ||
| 21 | * | ||
| 22 | * @return TaskEntity[] | ||
| 23 | */ | ||
| 24 | public function findAllTerminated() | ||
| 33 | |||
| 34 | /** | ||
| 35 | * Find next entity. | ||
| 36 | * | ||
| 37 | * @param array $criteria | ||
| 38 | * | ||
| 39 | * @return TaskEntity|null | ||
| 40 | */ | ||
| 41 | public function findNext(array $criteria = []) | ||
| 48 | |||
| 49 | /** | ||
| 50 | * Find next entity by commandline. | ||
| 51 | * | ||
| 52 | * @param string $commandline | ||
| 53 | * | ||
| 54 | * @return TaskEntity|null | ||
| 55 | */ | ||
| 56 | public function findNextByCommandline($commandline) | ||
| 60 | } | ||
| 61 |