PHP Класс PhpDeal\Aspect\AbstractContractAspect

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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