Example #1
0
 /**
  * Returns the method annotations.
  *
  * @return array The method annotations
  * @see \AppserverIo\Lang\Reflection\PropertyInterface::getAnnotations()
  */
 public function getAnnotations()
 {
     // check if the annotations has been loaded
     if (isset($this->annotations) === false) {
         $this->annotations = ReflectionAnnotation::fromReflectionProperty($this);
     }
     // return the annotations
     return $this->annotations;
 }