src/Annotation/Annotations.php
public function get($class)
    {
        $annotations = $this->getCache()->get('_PHX.annotations.' . $class);
        if (!isset($annotations)) {
            $annotations = $this->getAnnotations($class);
            $this->getCache()->save('_PHX.annotations.' . $class, $annotations);
        }
        return $annotations;
    }
public function get($class)
    {
        $annotations = $this->getCache()->get('_PHX.annotations.' . $class);
        if (!isset($annotations)) {
            $annotations = $this->getAnnotations($class);
            $this->getCache()->save('_PHX.annotations.' . $class, $annotations);
        }
        return $annotations;
    }
public function get ( $ class ) { $ annotations = $ this -> getCache ( ) -> get ( '_PHX.annotations.' . $ class ) ; if ( ! isset ( $ annotations ) ) { $ annotations = $ this -> getAnnotations ( $ class ) ; $ this -> getCache ( ) -> save ( '_PHX.annotations.' . $ class , $ annotations ) ; } return $ annotations ; }
Gets all annotations in the class

@param string $class class name
@return array
Gets all annotations in the class