PHP 클래스 Xpressengine\Interception\Proxy\ProxyConfig

저자: XE Developers ([email protected])
파일 보기 프로젝트 열기: xpressengine/xpressengine 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$class
$rfc ReflectionClass 타겟 클래스의 ReflectionClass

공개 메소드들

메소드 설명
__construct ( string $class ) constructor.
getProxyName ( ) : string 동적으로 생성할 프록시 파일의 이름을 조회한다.
getReflectionClass ( ) : ReflectionClass 타겟클래스의 ReflectionClass를 반환한다.
getTargetMethods ( ) : ReflectionMetho\ReflectionMethod[] 프록시 클래스에서 수정해야 할 메소드 목록을 반환한다.
getTargetName ( ) : string 타겟 클래스 이름을 조회한다.
getTargetPath ( ) : string 타겟 클래스의 파일 경로를 조회한다.

비공개 메소드들

메소드 설명
resolveRfc ( ) : ReflectionClass 타겟클래스의 ReflectionClass를 생성한다.

메소드 상세

__construct() 공개 메소드

constructor.
public __construct ( string $class )
$class string 타겟 클래스 이름(full name)

getProxyName() 공개 메소드

동적으로 생성할 프록시 파일의 이름을 조회한다.
public getProxyName ( ) : string
리턴 string

getReflectionClass() 공개 메소드

타겟클래스의 ReflectionClass를 반환한다.
public getReflectionClass ( ) : ReflectionClass
리턴 ReflectionClass

getTargetMethods() 공개 메소드

Interception은 타겟 클래스의 public 메소드만 대상으로 한다.
public getTargetMethods ( ) : ReflectionMetho\ReflectionMethod[]
리턴 ReflectionMetho\ReflectionMethod[] 수정할 메소드 목록

getTargetName() 공개 메소드

타겟 클래스 이름을 조회한다.
public getTargetName ( ) : string
리턴 string

getTargetPath() 공개 메소드

타겟 클래스의 파일 경로를 조회한다.
public getTargetPath ( ) : string
리턴 string

프로퍼티 상세

$class 보호되어 있는 프로퍼티

protected $class

$rfc 보호되어 있는 프로퍼티

타겟 클래스의 ReflectionClass
protected ReflectionClass $rfc
리턴 ReflectionClass