Closed beauwest closed 12 years ago
I decided to make it an option off of send, just to make absolutely sure it doesn't break anyone's code. If they're looking for
->send === true
It would break.
Good, I like it!
Would you mind changing public function send($returnId = false)
to something like public function send($options = array())
? That could then be used like this: ->send(array('returnMessageId' => true))
, which is more readable imo.
Done.
Thanks! Out of curiosity, why do you use !empty(
instead of !isset(
?
In case they set it to false manually. Empty catches false or blank, or not set.
Thanks!
Here's the second iteration. Let me know what you think.