ProxyConfig
class ProxyConfig
동적으로 생성할 프록시 클래스에 대한 정보를 저장하는 클래스 프록시 클래스를 작성할 때 사용될 타겟 클래스에 대한 정보를 가지고 있다.
Properties
protected | $class | ||
protected ReflectionClass | $rfc | 타겟 클래스의 ReflectionClass |
Methods
__construct(string $class)
constructor.
getReflectionClass()
타겟클래스의 ReflectionClass를 반환한다.
getTargetMethods()
프록시 클래스에서 수정해야 할 메소드 목록을 반환한다.
string
getTargetName()
타겟 클래스 이름을 조회한다.
string
getTargetPath()
타겟 클래스의 파일 경로를 조회한다.
string
getProxyName()
동적으로 생성할 프록시 파일의 이름을 조회한다.
resolveRfc()
타겟클래스의 ReflectionClass를 생성한다.
Details
at line 47
__construct(string $class)
constructor.
at line 57
ReflectionClass
getReflectionClass()
타겟클래스의 ReflectionClass를 반환한다.
at line 68
ReflectionMethod[]
getTargetMethods()
프록시 클래스에서 수정해야 할 메소드 목록을 반환한다.
Interception은 타겟 클래스의 public 메소드만 대상으로 한다.
at line 81
string
getTargetName()
타겟 클래스 이름을 조회한다.
at line 92
string
getTargetPath()
타겟 클래스의 파일 경로를 조회한다.
at line 103
string
getProxyName()
동적으로 생성할 프록시 파일의 이름을 조회한다.
at line 113
private ReflectionClass
resolveRfc()
타겟클래스의 ReflectionClass를 생성한다.