@@ -133,6 +133,7 @@ |
||
| 133 | 133 | |
| 134 | 134 | /** |
| 135 | 135 | * @inheritdoc |
| 136 | + * @param string $body |
|
| 136 | 137 | */ |
| 137 | 138 | public function setBody($body) { |
| 138 | 139 | $this->body = $body; |
@@ -68,6 +68,9 @@ |
||
| 68 | 68 | } |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | + /** |
|
| 72 | + * @param string $className |
|
| 73 | + */ |
|
| 71 | 74 | public function registerEntryPoint($funcName,$className){ |
| 72 | 75 | if (isset($this->entryPoints[$funcName])){ |
| 73 | 76 | throw new SDKException('SDK method already defined. Method '.$funcName.' references Class '.$className); |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace SugarAPI\SDK; |
| 4 | 4 | |
| 5 | -use SugarAPI\SDK\Exception\InitializationFailure; |
|
| 6 | -use SugarAPI\SDK\Exception\InvalidEntryPoint; |
|
| 7 | 5 | use SugarAPI\SDK\Exception\AuthenticationException; |
| 8 | 6 | use SugarAPI\SDK\Exception\SDKException; |
| 9 | 7 | |