Util
Class: No description found
Method: Converts a response from the Stripe API to the corresponding PHP object.
Util::convertToStripeObject Read More »
Method: Compares two strings for equality. The time taken is independent of the number of characters that match.
Util::secureCompare Read More »
Method: Recursively goes through an array of parameters. If a parameter is an instance of ApiResource, then it is replaced by the resource’s ID.
Util::objectsToIds Read More »
Class: A very basic implementation of LoggerInterface that has just enough functionality that it can be the default for this library.
Method: Unpacks an options array and merges it into the existing RequestOptions object.
RequestOptions::merge Read More »
Method: Discards all headers that we don’t want to persist across requests.
RequestOptions::discardNonPersistentHeaders Read More »
Method: Unpacks an options array into an RequestOptions object.
RequestOptions::parse Read More »