mailchimp-api
mailchimp-api copied to clipboard
Allow passing an array to the constructor so we can configure the timeout
Thinking about this further, if we're adding $parameters
to the contractor, would it not make more sense to add $parameters
to the method calls too? Rather than just $timeout
?
It totally makes sense but, then, isn't it breaking change? I wasn't sure if you think that's ok.
In my opinion I'd in fact remove that option from the method calls, and let the user the option to "configure" all the possible parameters (ssl, timeout) via the constructor / an additional settter.
Let's see if it's finally accepted! I'd update the documentation if it's.