| 1 | <?php |
||
| 8 | class TerminalRepository extends EntityRepository implements ContainerAwareInterface |
||
| 9 | { |
||
| 10 | use ContainerAwareTrait; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param string $title |
||
| 14 | * @param bool $fetch |
||
| 15 | * |
||
| 16 | * @return Terminal|null |
||
| 17 | */ |
||
| 18 | public function findTerminalByTitle(string $title, $fetch = false): ?Terminal |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $slug |
||
| 36 | * @param bool $fetch |
||
| 37 | * |
||
| 38 | * @return Terminal|null |
||
| 39 | */ |
||
| 40 | public function findTerminalBySlug(string $slug, $fetch = false): ?Terminal |
||
| 55 | |||
| 56 | private function sync() |
||
| 60 | } |
||
| 61 |