Browse: Home /

Namespace: Util

RandomGenerator

Class: A basic random generator. This is in a separate class so we the generator can be injected as a dependency and replaced with a mock in tests.

Util::secureCompare()

Method: Compares two strings for equality. The time taken is independent of the number of characters that match.

Util::objectsToIds()

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.

Set

Class: No description found