Overview
  • Namespace
  • Class

Namespaces

  • PayPal
    • Api
    • Auth
    • Cache
    • Common
    • Converter
    • Core
    • Exception
    • Handler
    • Log
    • Rest
    • Security
    • Transport
    • Validation

Classes

  • ArgumentValidator
  • JsonValidator
  • NumericValidator
  • UrlValidator

Class ArgumentValidator

Class ArgumentValidator

Namespace: PayPal\Validation
Package: PayPal\Validation
Located at PayPal/Validation/ArgumentValidator.php

Methods summary

public static boolean
# validate( $argument, $argumentName = null )

Helper method for validating an argument that will be used by this API in any requests.

Helper method for validating an argument that will be used by this API in any requests.

Parameters

$argument
The object to be validated
$argumentName

The name of the argument. This will be placed in the exception message for easy reference

Returns

boolean
API documentation generated by ApiGen