PHP Class PhpDeal\Aspect\InvariantCheckerAspect

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

Public Methods

Method Description
__construct ( Doctrine\Common\Annotations\Reader $reader )
invariantContract ( Go\Aop\Intercept\MethodInvocation $invocation ) : mixed Verifies invariants for contract class

Private Methods

Method Description
fetchAllContracts ( ReflectionClass $class ) : array

Method Details

__construct() public method

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

invariantContract() public method

Verifies invariants for contract class
public invariantContract ( Go\Aop\Intercept\MethodInvocation $invocation ) : mixed
$invocation Go\Aop\Intercept\MethodInvocation
return mixed