PHP Class PhpDeal\Aspect\AbstractContractAspect

Afficher le fichier Open project: lisachenko/php-deal Class Usage Examples

Protected Properties

Свойство Type Description
$reader Doctrine\Common\Annotations\Reader

Méthodes publiques

Méthode Description
__construct ( Doctrine\Common\Annotations\Reader $reader )

Méthodes protégées

Méthode Description
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

Method Details

__construct() public méthode

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

ensureContracts() protected méthode

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() protected méthode

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

Property Details

$reader protected_oe property

protected Reader,Doctrine\Common\Annotations $reader
Résultat Doctrine\Common\Annotations\Reader