PHP 클래스 Go\Core\GeneralAspectLoaderExtension

상속: extends AbstractAspectLoaderExtension
파일 보기 프로젝트 열기: goaop/framework

공개 메소드들

메소드 설명
getKind ( ) : string General aspect loader works with annotations from aspect
getTarget ( ) : string | array General aspect loader works only with methods of aspect
load ( Go\Aop\Aspect $aspect, mixed | ReflectionClass | ReflectionMethod | ReflectionProperty $reflection, mixed | null $metaInformation = null ) : array | Go\Aop\Pointcut[] | Go\Aop\Advisor[] Loads definition from specific point of aspect into the container
supports ( Go\Aop\Aspect $aspect, mixed | ReflectionClass | ReflectionMethod | ReflectionProperty $reflection, mixed | null $metaInformation = null ) : boolean Checks if loader is able to handle specific point of aspect

보호된 메소드들

메소드 설명
getInterceptor ( $metaInformation, $adviceCallback ) : Go\Aop\Intercept\Interceptor

메소드 상세

getInterceptor() 보호된 메소드

protected getInterceptor ( $metaInformation, $adviceCallback ) : Go\Aop\Intercept\Interceptor
$metaInformation
$adviceCallback
리턴 Go\Aop\Intercept\Interceptor

getKind() 공개 메소드

For extension that works with annotations additional metaInformation will be passed
public getKind ( ) : string
리턴 string

getTarget() 공개 메소드

General aspect loader works only with methods of aspect
public getTarget ( ) : string | array
리턴 string | array

load() 공개 메소드

Loads definition from specific point of aspect into the container
public load ( Go\Aop\Aspect $aspect, mixed | ReflectionClass | ReflectionMethod | ReflectionProperty $reflection, mixed | null $metaInformation = null ) : array | Go\Aop\Pointcut[] | Go\Aop\Advisor[]
$aspect Go\Aop\Aspect Instance of aspect
$reflection mixed | ReflectionClass | ReflectionMethod | ReflectionProperty Reflection of point
$metaInformation mixed | null Additional meta-information, e.g. annotation for method
리턴 array | Go\Aop\Pointcut[] | Go\Aop\Advisor[]

supports() 공개 메소드

Checks if loader is able to handle specific point of aspect
public supports ( Go\Aop\Aspect $aspect, mixed | ReflectionClass | ReflectionMethod | ReflectionProperty $reflection, mixed | null $metaInformation = null ) : boolean
$aspect Go\Aop\Aspect Instance of aspect
$reflection mixed | ReflectionClass | ReflectionMethod | ReflectionProperty Reflection of point
$metaInformation mixed | null Additional meta-information, e.g. annotation for method
리턴 boolean true if extension is able to create an advisor from reflection and metaInformation