| @@ 117-125 (lines=9) @@ | ||
| 114 | * |
|
| 115 | * @return \Acquia\LiftClient\Entity\Captures |
|
| 116 | */ |
|
| 117 | public function setSiteId($siteId) |
|
| 118 | { |
|
| 119 | if (!is_string($siteId)) { |
|
| 120 | throw new LiftSdkException('Argument must be an instance of string.'); |
|
| 121 | } |
|
| 122 | $this['site_id'] = $siteId; |
|
| 123 | ||
| 124 | return $this; |
|
| 125 | } |
|
| 126 | ||
| 127 | /** |
|
| 128 | * Sets the 'captures' parameter. |
|
| @@ 205-213 (lines=9) @@ | ||
| 202 | * |
|
| 203 | * @return \Acquia\LiftClient\Entity\Capture |
|
| 204 | */ |
|
| 205 | public function setSiteId($siteId) |
|
| 206 | { |
|
| 207 | if (!is_string($siteId)) { |
|
| 208 | throw new LiftSdkException('Argument must be an instance of string.'); |
|
| 209 | } |
|
| 210 | $this['site_id'] = $siteId; |
|
| 211 | ||
| 212 | return $this; |
|
| 213 | } |
|
| 214 | ||
| 215 | /** |
|
| 216 | * Sets the 'referral_url' parameter. |
|