@@ -26,6 +26,9 @@ |
||
| 26 | 26 | $this->zohoClient = $zohoClient; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @return string |
|
| 31 | + */ |
|
| 29 | 32 | abstract protected function getModule(); |
| 30 | 33 | abstract protected function getSingularModuleName(); |
| 31 | 34 | abstract protected function getPluralModuleName(); |
@@ -409,6 +409,9 @@ discard block |
||
| 409 | 409 | } |
| 410 | 410 | } |
| 411 | 411 | |
| 412 | + /** |
|
| 413 | + * @param string $str |
|
| 414 | + */ |
|
| 412 | 415 | private static function camelCase($str, array $noStrip = []) |
| 413 | 416 | { |
| 414 | 417 | $str = self::upperCamelCase($str, $noStrip); |
@@ -429,6 +432,11 @@ discard block |
||
| 429 | 432 | return $str; |
| 430 | 433 | } |
| 431 | 434 | |
| 435 | + /** |
|
| 436 | + * @param string $name |
|
| 437 | + * @param string $description |
|
| 438 | + * @param string $type |
|
| 439 | + */ |
|
| 432 | 440 | private static function registerProperty(PhpClass $class, $name, $description, $type, $nullable = false) |
| 433 | 441 | { |
| 434 | 442 | if (!$class->hasProperty($name)) { |