src/Util/AnnotationFilterExtractorTrait.php
private function getFilterAnnotations(array $miscAnnotations): \Iterator
    {
        foreach ($miscAnnotations as $miscAnnotation) {
            if (ApiFilter::class === \get_class($miscAnnotation)) {
                yield $miscAnnotation;
            }
        }
    }
private function getFilterAnnotations(array $miscAnnotations): \Iterator
    {
        foreach ($miscAnnotations as $miscAnnotation) {
            if (ApiFilter::class === \get_class($miscAnnotation)) {
                yield $miscAnnotation;
            }
        }
    }
private function getFilterAnnotations ( array $ miscAnnotations ) : \ Iterator { foreach ( $ miscAnnotations as $ miscAnnotation ) { if ( ApiFilter :: class === \ get_class ( $ miscAnnotation ) ) { yield $ miscAnnotation ; } } }
Filters annotations to get back only ApiFilter annotations.

@param array $miscAnnotations class or property annotations

@return \Iterator only ApiFilter annotations
Filters annotations to get back only ApiFilter annotations .