/** * Returns Eventbrite Payment * * @param string * @param string|null * @return Eden_Eventbrite_Payment */ public function payment($user, $api = NULL) { //argument test Eden_Eventbrite_Error::i()->argument(1, 'string')->argument(2, 'string', 'null'); //Argument 2 must be a string or null return Eden_Eventbrite_Payment::i($user, $api); }
public function payment($user, $api = NULL) { Eden_Eventbrite_Error::i()->argument(1, 'string')->argument(2, 'string', 'null'); return Eden_Eventbrite_Payment::i($user, $api); }