PHP Class PhpDeal\Aspect\PreconditionCheckerAspect

Inheritance: extends AbstractContractAspect, implements Go\Aop\Aspect
Datei anzeigen Open project: lisachenko/php-deal

Public Methods

Method Description
__construct ( Doctrine\Common\Annotations\Reader $reader )
preConditionContract ( Go\Aop\Intercept\MethodInvocation $invocation ) Verifies pre-condition contract for the method

Private Methods

Method Description
fetchAllContracts ( Go\Aop\Intercept\MethodInvocation $invocation ) : array
fetchParentsContracts ( Go\Aop\Intercept\MethodInvocation $invocation ) : array

Method Details

__construct() public method

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

preConditionContract() public method

Verifies pre-condition contract for the method
public preConditionContract ( Go\Aop\Intercept\MethodInvocation $invocation )
$invocation Go\Aop\Intercept\MethodInvocation