PHP Class Xpressengine\Interception\Proxy\ProxyConfig

Author: XE Developers ([email protected])
ファイルを表示 Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Property Type Description
$class
$rfc ReflectionClass 타겟 클래스의 ReflectionClass

Public Methods

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

Private Methods

Method Description
resolveRfc ( ) : ReflectionClass 타겟클래스의 ReflectionClass를 생성한다.

Method Details

__construct() public method

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

getProxyName() public method

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

getReflectionClass() public method

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

getTargetMethods() public method

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

getTargetName() public method

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

getTargetPath() public method

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

Property Details

$class protected_oe property

protected $class

$rfc protected_oe property

타겟 클래스의 ReflectionClass
protected ReflectionClass $rfc
return ReflectionClass