private static function haveAnnotation($annotationClass, array $annotationList)
    {
        foreach ($annotationList as $annotation) {
            if (is_a($annotation, $annotationClass)) {
                return $annotation;
            }
        }
        return false;
    }
private static function haveAnnotation($annotationClass, array $annotationList)
    {
        foreach ($annotationList as $annotation) {
            if (is_a($annotation, $annotationClass)) {
                return $annotation;
            }
        }
        return false;
    }
private static function haveAnnotation ( $ annotationClass , array $ annotationList ) { foreach ( $ annotationList as $ annotation ) { if ( is_a ( $ annotation , $ annotationClass ) ) { return $ annotation ; } } return false ; }
Get the annotation of the class in the list or return false
@param $annotationClass
@param array $annotationList
@return bool|Annotation
Get the annotation of the class in the list or return false