Ejemplo n.º 1
0
 /**
  * Will test if a method did exist in the former definition of a structure
  *
  * @param \TokenReflection\IReflection $formerReflection The former reflection to check for the method
  * @param string                       $methodName       Name of the method to check for
  *
  * @return boolean
  */
 protected function didMethodExistBefore(IReflectionClass $formerReflection, $methodName)
 {
     if ($formerReflection->hasMethod($methodName)) {
         return true;
     } else {
         return false;
     }
 }