Neos\Flow\Aop\Pointcut\PointcutClassAnnotatedWithFilter::__construct PHP Метод

__construct() публичный Метод

The constructor - initializes the class annotation filter with the expected annotation class
public __construct ( string $annotation, array $annotationValueConstraints = [] )
$annotation string An annotation class (for example "@Neos\Flow\Annotations\Aspect") which defines which class annotations should match
$annotationValueConstraints array
    public function __construct($annotation, array $annotationValueConstraints = [])
    {
        $this->annotation = $annotation;
        $this->annotationValueConstraints = $annotationValueConstraints;
    }