More Webhook API Changes

- Updated API Models with Fixes
- Updated Samples
- Additional Functional Tests
This commit is contained in:
japatel
2014-12-12 17:00:33 -06:00
parent d6575b49ae
commit fb9584ba66
30 changed files with 1454 additions and 73 deletions

View File

@@ -34,6 +34,10 @@ class PPReflectionUtil
*/
public static function getPropertyClass($class, $propertyName)
{
if ($class == get_class(new PPModel())) {
// Make it generic if PPModel is used for generating this
return get_class(new PPModel());
}
if (($annotations = self::propertyAnnotations($class, $propertyName)) && isset($annotations['return'])) {
$param = $annotations['return'];