PHP 클래스 PayPal\Common\ReflectionUtil

파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
getPropertyClass ( $class, $propertyName ) : null | string Gets Property Class of the given property.
getter ( string $class, string $propertyName ) : string Returns the properly formatted getter function name based on class name and property Formats the property name to a standard getter function
isPropertyClassArray ( $class, $propertyName ) : null | boolean Checks if the Property is of type array or an object
propertyAnnotations ( $class, $propertyName ) : mixed Retrieves Annotations of each property

비공개 메소드들

메소드 설명
replace_callback ( $match ) : string preg_replace_callback callback function

메소드 상세

getPropertyClass() 공개 정적인 메소드

If the class is null, it returns null. If the property is not found, it returns null.
public static getPropertyClass ( $class, $propertyName ) : null | string
$class
$propertyName
리턴 null | string

getter() 공개 정적인 메소드

Returns the properly formatted getter function name based on class name and property Formats the property name to a standard getter function
public static getter ( string $class, string $propertyName ) : string
$class string
$propertyName string
리턴 string getter function name

isPropertyClassArray() 공개 정적인 메소드

Checks if the Property is of type array or an object
public static isPropertyClassArray ( $class, $propertyName ) : null | boolean
$class
$propertyName
리턴 null | boolean

propertyAnnotations() 공개 정적인 메소드

Retrieves Annotations of each property
public static propertyAnnotations ( $class, $propertyName ) : mixed
$class
$propertyName
리턴 mixed