alecgorge/jsonapi — pull request #201 by PunKeel (2012-12-16 00:55:27+00:00)
Title: Add __call function - PHP SDK

This __call function allows JSONAPI to have a variable such as $api that works with JSONAPI's functions directly as if they were PHP functions.
How ?

For exemple, you had it :
$api->call('runConsoleCommand', array("broadcast MESSAGE"));

Now, you just have : $api->runConsoleCommand('broadcast MESSAGE');

Isn't that cool ? :)
No ? ... :(

Pull request anyway !
(untested, but could work ... Maybe ... ;D )