/** * {@inheritdoc} * In this method, annotation param is treated as instance of AnnotationWithAssociatedClass. * * @see \Mcustiel\SimpleRequest\Strategies\Annotations\AnnotationParser::execute() */ public function execute(RequestAnnotation $annotation, PropertyParserBuilder $propertyParser) { $propertyParser->addFilter(FilterBuilder::builder()->withClass($annotation->getAssociatedClass())->withSpecification($annotation->getValue())->build()); }