PHP Класс PayPal\Validation\ArgumentValidator

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
validate ( $argument, $argumentName = null ) : boolean Helper method for validating an argument that will be used by this API in any requests.

Описание методов

validate() публичный статический Метод

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
Результат boolean