spinegar/sugarcrm7-api-wrapper-class — pull request #2 by cmoore4 (2014-01-09 22:01:06+00:00)
Title: Updated passing oauth token into listener function

When using this library out of the box, php threw an object access error regarding the use of $this->token from within the context of the new anonymous function. Passing in the token via 'use' works fine.