johannez / chargify

PHP library to interact with the Chargify API
MIT License
5 stars 7 forks source link

__call always expect 2 parameters #1

Closed frangeris closed 9 years ago

frangeris commented 10 years ago

class Factory, line 29

https://github.com/johannez/chargify/blob/master/src/Chargify/Controller/Factory.php#L29

johannez commented 10 years ago

Hello Frangeris,

yes, that is true. Looking at it again now I see it's not an ideal solution. In my own code I don't use the _call function. I'll look into and I'm open for suggestions. The basic issue is that you have to throw in the domain and api key at some point during the controller generation.

johannez commented 9 years ago

This is fixed now with Francis pull request.