PHP Class PayPal\Validation\ArgumentValidator

Afficher le fichier Open project: paypal/rest-api-sdk-php Class Usage Examples

Méthodes publiques

Méthode Description
validate ( $argument, $argumentName = null ) : boolean Helper method for validating an argument that will be used by this API in any requests.

Method Details

validate() public static méthode

Helper method for validating an argument that will be used by this API in any requests.
public static validate ( $argument, $argumentName = null ) : boolean
$argument mixed The object to be validated
$argumentName string|null The name of the argument. This will be placed in the exception message for easy reference
Résultat boolean