| @@ 21-32 (lines=12) @@ | ||
| 18 | return $results; |
|
| 19 | } |
|
| 20 | ||
| 21 | protected function prepare() |
|
| 22 | { |
|
| 23 | if ($this->service !== null) { |
|
| 24 | $this->vacancies->forService($this->service); |
|
| 25 | } |
|
| 26 | ||
| 27 | if ($this->date !== null) { |
|
| 28 | $this->vacancies->forDate($this->date()); |
|
| 29 | } |
|
| 30 | ||
| 31 | return $this; |
|
| 32 | } |
|
| 33 | } |
|
| 34 | ||
| @@ 26-37 (lines=12) @@ | ||
| 23 | return $results; |
|
| 24 | } |
|
| 25 | ||
| 26 | protected function prepare() |
|
| 27 | { |
|
| 28 | if ($this->service !== null) { |
|
| 29 | $this->vacancies->forService($this->service); |
|
| 30 | } |
|
| 31 | ||
| 32 | if ($this->date !== null && $this->time !== null) { |
|
| 33 | $this->vacancies->forDateTime($this->getUTCDateTime()); |
|
| 34 | } |
|
| 35 | ||
| 36 | return $this; |
|
| 37 | } |
|
| 38 | } |
|
| 39 | ||
| @@ 98-109 (lines=12) @@ | ||
| 95 | return $results; |
|
| 96 | } |
|
| 97 | ||
| 98 | protected function prepare() |
|
| 99 | { |
|
| 100 | if ($this->service !== null) { |
|
| 101 | $this->vacancies->forService($this->service); |
|
| 102 | } |
|
| 103 | ||
| 104 | if ($this->date !== null && $this->time !== null) { |
|
| 105 | $this->vacancies->forDateTime($this->getUTCDateTime()); |
|
| 106 | } |
|
| 107 | ||
| 108 | return $this; |
|
| 109 | } |
|
| 110 | } |
|
| 111 | ||