PHP 클래스 PhpDeal\Aspect\AbstractContractAspect

파일 보기 프로젝트 열기: lisachenko/php-deal 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$reader Doctrine\Common\Annotations\Reader

공개 메소드들

메소드 설명
__construct ( Doctrine\Common\Annotations\Reader $reader )

보호된 메소드들

메소드 설명
ensureContracts ( Go\Aop\Intercept\MethodInvocation $invocation, array $contracts, object | string $instance, string $scope, array $args ) Performs verification of contracts for given invocation
fetchMethodArguments ( Go\Aop\Intercept\MethodInvocation $invocation ) : array Returns an associative list of arguments for the method invocation

메소드 상세

__construct() 공개 메소드

public __construct ( Doctrine\Common\Annotations\Reader $reader )
$reader Doctrine\Common\Annotations\Reader Annotation reader

ensureContracts() 보호된 메소드

Performs verification of contracts for given invocation
protected ensureContracts ( Go\Aop\Intercept\MethodInvocation $invocation, array $contracts, object | string $instance, string $scope, array $args )
$invocation Go\Aop\Intercept\MethodInvocation Current invocation
$contracts array Contract annotation
$instance object | string Invocation instance or string for static class
$scope string Scope of method
$args array List of arguments for the method

fetchMethodArguments() 보호된 메소드

Returns an associative list of arguments for the method invocation
protected fetchMethodArguments ( Go\Aop\Intercept\MethodInvocation $invocation ) : array
$invocation Go\Aop\Intercept\MethodInvocation
리턴 array

프로퍼티 상세

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

protected Reader,Doctrine\Common\Annotations $reader
리턴 Doctrine\Common\Annotations\Reader