Textalk/textalk-webshopclient-php — pull request #4 by sirn-se (2014-07-03 13:37:43+00:00)
Title: Implementing classes as magic methods

Shortcuts to ApiClass and ApiInstance by using magic methods.

$connection->getApiClass("HarryPotter") // can be shortcut as
$connection->HarryPotter

$connection->getApiInstance("HarryPotter", 123) // can be shortcut as
$connection->HarryPotter(123)