/**
  * @param bool $isDocumented
  * @param array $methods
  * @param ReflectionMethodMagic $method
  * @return bool
  */
 private function canBeExtracted($isDocumented, array $methods, ReflectionMethodMagic $method)
 {
     if (isset($methods[$method->getName()])) {
         return FALSE;
     }
     if ($isDocumented && !$method->isDocumented()) {
         return FALSE;
     }
     return TRUE;
 }
 /**
  * @return string
  */
 public function getDeclaringFunctionName()
 {
     return $this->declaringFunction->getName();
 }