| @@ 224-233 (lines=10) @@ | ||
| 221 | return $this; |
|
| 222 | } |
|
| 223 | ||
| 224 | public function fields($fields) |
|
| 225 | { |
|
| 226 | if (is_array($fields) || $fields === null) { |
|
| 227 | $this->fields = $fields; |
|
| 228 | } else { |
|
| 229 | $this->fields = func_get_args(); |
|
| 230 | } |
|
| 231 | ||
| 232 | return $this; |
|
| 233 | } |
|
| 234 | ||
| 235 | public function source($source) |
|
| 236 | { |
|
| @@ 235-244 (lines=10) @@ | ||
| 232 | return $this; |
|
| 233 | } |
|
| 234 | ||
| 235 | public function source($source) |
|
| 236 | { |
|
| 237 | if (is_array($source) || $source === null) { |
|
| 238 | $this->source = $source; |
|
| 239 | } else { |
|
| 240 | $this->source = func_get_args(); |
|
| 241 | } |
|
| 242 | ||
| 243 | return $this; |
|
| 244 | } |
|
| 245 | ||
| 246 | public function timeout($timeout) |
|
| 247 | { |
|