PHP Class Xpressengine\Interception\Proxy\ProxyConfig

Author: XE Developers ([email protected])
Afficher le fichier Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Свойство Type Description
$class
$rfc ReflectionClass 타겟 클래스의 ReflectionClass

Méthodes publiques

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

Private Methods

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

Method Details

__construct() public méthode

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

getProxyName() public méthode

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

getReflectionClass() public méthode

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

getTargetMethods() public méthode

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

getTargetName() public méthode

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

getTargetPath() public méthode

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

Property Details

$class protected_oe property

protected $class

$rfc protected_oe property

타겟 클래스의 ReflectionClass
protected ReflectionClass $rfc
Résultat ReflectionClass