PHP 클래스 Ouzo\Utilities\DynamicProxy

파일 보기 프로젝트 열기: letsdrink/ouzo 1 사용 예제들

공개 메소드들

메소드 설명
extractMethodHandler ( $proxy ) : mixed Extracts method handler from proxy object.
newInstance ( $className, $methodHandler ) : null Creates a proxy for the given class.

비공개 메소드들

메소드 설명
getClassMethods ( ReflectionClass $class ) : ReflectionMetho\ReflectionMethod[]
getParameterDeclaration ( ReflectionFunctionAbstract $method )
getProxyClassDefinition ( $name, $className )

메소드 상세

extractMethodHandler() 공개 정적인 메소드

Extracts method handler from proxy object.
public static extractMethodHandler ( $proxy ) : mixed
$proxy
리턴 mixed

newInstance() 공개 정적인 메소드

Returned object dispatches method invocations to $methodHandler.
public static newInstance ( $className, $methodHandler ) : null
$className
$methodHandler
리턴 null