Example #1
0
 /**
  * Returns whether this method is deprecated.
  *
  * This is purely a wrapper method, which calls the corresponding method of
  * the parent class.
  * @return boolean
  */
 public function isDeprecated()
 {
     // TODO: also check @deprecated annotation
     if ($this->reflectionSource instanceof parent) {
         return $this->reflectionSource->isDeprecated();
     } else {
         return parent::isDeprecated();
     }
 }