Library/Documentation/DocblockParser.php
private function __tryRegisterAnnotation()
    {
        if (($this->annotationNameOpen || $this->annotationOpen) && \strlen($this->currentAnnotationStr) > 0) {
            $annotation = $this->__createAnnotation($this->currentAnnotationStr, $this->currentAnnotationContentStr);
            $this->docblockObj->addAnnotation($annotation);
        }

        $this->annotationNameOpen = false;
        $this->annotationOpen = false;
    }
private function __tryRegisterAnnotation()
    {
        if (($this->annotationNameOpen || $this->annotationOpen) && \strlen($this->currentAnnotationStr) > 0) {
            $annotation = $this->__createAnnotation($this->currentAnnotationStr, $this->currentAnnotationContentStr);
            $this->docblockObj->addAnnotation($annotation);
        }

        $this->annotationNameOpen = false;
        $this->annotationOpen = false;
    }
private function __tryRegisterAnnotation ( ) { if ( ( $ this -> annotationNameOpen || $ this -> annotationOpen ) && \ strlen ( $ this -> currentAnnotationStr ) > 0 ) { $ annotation = $ this -> __createAnnotation ( $ this -> currentAnnotationStr , $ this -> currentAnnotationContentStr ) ; $ this -> docblockObj -> addAnnotation ( $ annotation ) ; } $ this -> annotationNameOpen = false ; $ this -> annotationOpen = false ; }
check if there is a currently parsed annotation, registers it, and stops the current annotation parsing.
check if there is a currently parsed annotation registers it and stops the current annotation parsing .