예제 #1
0
 /**
  * Retrieve all of this field's annotations
  *
  * @return [:var] annotations
  */
 public function getAnnotations()
 {
     $details = XPClass::detailsForField($this->_reflect->getDeclaringClass(), $this->_reflect->getName());
     return $details ? $details[DETAIL_ANNOTATIONS] : [];
 }