@@ -42,6 +42,9 @@ discard block |
||
| 42 | 42 | ->getContents(), true); |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | + /** |
|
| 46 | + * @param string $url |
|
| 47 | + */ |
|
| 45 | 48 | protected function setGetUrl($url = null) |
| 46 | 49 | { |
| 47 | 50 | $this->method = 'GET'; |
@@ -50,6 +53,9 @@ discard block |
||
| 50 | 53 | return $this; |
| 51 | 54 | } |
| 52 | 55 | |
| 56 | + /** |
|
| 57 | + * @param string $url |
|
| 58 | + */ |
|
| 53 | 59 | public function setPostUrl($url) |
| 54 | 60 | { |
| 55 | 61 | $this->method = 'POST'; |