public function hasMethod($methodName) { try { $this->getMethod($methodName); return true; } catch (\OutOfBoundsException $exception) { return false; } }
/** * {@inheritDoc} */ public function hasMethod($name) { return $this->betterReflectionClass->hasMethod($name); }