public function getFieldAnnotationsContainingMatchingTag($tag) {
        $matchingAnnotations = array();
        foreach ($this->getFieldAnnotations() as $field => $fieldAnnotations) {
            if (isset($fieldAnnotations[$tag])) {
                $matchingAnnotations[$field] = $fieldAnnotations;
            }
        }

        return $matchingAnnotations;

    }
public function getFieldAnnotationsContainingMatchingTag($tag) {
        $matchingAnnotations = array();
        foreach ($this->getFieldAnnotations() as $field => $fieldAnnotations) {
            if (isset($fieldAnnotations[$tag])) {
                $matchingAnnotations[$field] = $fieldAnnotations;
            }
        }

        return $matchingAnnotations;

    }
public function getFieldAnnotationsContainingMatchingTag ( $ tag ) { $ matchingAnnotations = array ( ) ; foreach ( $ this -> getFieldAnnotations ( ) as $ field => $ fieldAnnotations ) { if ( isset ( $ fieldAnnotations [ $ tag ] ) ) { $ matchingAnnotations [ $ field ] = $ fieldAnnotations ; } } return $ matchingAnnotations ; }
Get the full set of field annotations for any fields containing a tag.

@param $tag
Get the full set of field annotations for any fields containing a tag .