PHP Class PhpDeal\Aspect\PostconditionCheckerAspect

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

Public Methods

Method Description
__construct ( Doctrine\Common\Annotations\Reader $reader )
postConditionContract ( Go\Aop\Intercept\MethodInvocation $invocation ) : mixed Verifies post-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

postConditionContract() public method

Verifies post-condition contract for the method
public postConditionContract ( Go\Aop\Intercept\MethodInvocation $invocation ) : mixed
$invocation Go\Aop\Intercept\MethodInvocation
return mixed