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