public function getClassAnnotation($name, $default = false)
    {
        $value = $default;

        if ($this->classAnnotations === null) {
            $this->classAnnotations = $this->parse((string)$this->getDocComment());
        }

        if (isset($this->classAnnotations[$name])) {
            $value = $this->classAnnotations[$name];
        }

        return $value;
    }
public function getClassAnnotation($name, $default = false)
    {
        $value = $default;

        if ($this->classAnnotations === null) {
            $this->classAnnotations = $this->parse((string)$this->getDocComment());
        }

        if (isset($this->classAnnotations[$name])) {
            $value = $this->classAnnotations[$name];
        }

        return $value;
    }
public function getClassAnnotation ( $ name , $ default = false ) { $ value = $ default ; if ( $ this -> classAnnotations === null ) { $ this -> classAnnotations = $ this -> parse ( ( string ) $ this -> getDocComment ( ) ) ; } if ( isset ( $ this -> classAnnotations [ $ name ] ) ) { $ value = $ this -> classAnnotations [ $ name ] ; } return $ value ; }
Get annotation value from class doc. block

@param string $name annotation name
@param mixed $default default value
@return mixed
Get annotation value from class doc . block