Fixing parse errors

When trying to run your example I encountered these two errors immediately:

PHP Parse error:  syntax error, unexpected '[' in /lib/vendor/Apigee/Usergrid/Collection.php on line 285
PHP Parse error:  syntax error, unexpected '}' in /lib/vendor/Apigee/Usergrid/Collection.php on line 290

Which are caused a missing semi-colon on line 289 and attempting to create an array with [] instead of the constructor function array() on line 285.