Overview
  • Namespace
  • Class

Namespaces

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

Classes

  • ArrayUtil
  • PayPalModel
  • PayPalResourceModel
  • PayPalUserAgent
  • ReflectionUtil

Class ReflectionUtil

Class ReflectionUtil

Namespace: PayPal\Common
Package: PayPal\Common
Located at PayPal/Common/ReflectionUtil.php

Methods summary

public static null|string
# getPropertyClass( $class, $propertyName )

Gets Property Class of the given property. If the class is null, it returns null. If the property is not found, it returns null.

Gets Property Class of the given property. If the class is null, it returns null. If the property is not found, it returns null.

Parameters

$class
$propertyName

Returns

null|string

Throws

PayPal\Exception\PayPalConfigurationException
public static null|boolean
# isPropertyClassArray( $class, $propertyName )

Checks if the Property is of type array or an object

Checks if the Property is of type array or an object

Parameters

$class
$propertyName

Returns

null|boolean

Throws

PayPal\Exception\PayPalConfigurationException
public static mixed
# propertyAnnotations( $class, $propertyName )

Retrieves Annotations of each property

Retrieves Annotations of each property

Parameters

$class
$propertyName

Returns

mixed

Throws

RuntimeException
public static string
# getter( string $class, string $propertyName )

Returns the properly formatted getter function name based on class name and property Formats the property name to a standard getter function

Returns the properly formatted getter function name based on class name and property Formats the property name to a standard getter function

Parameters

$class
$propertyName

Returns

string
getter function name
API documentation generated by ApiGen