src/Eloquent/Typhoon/ClassMapper/ClassDefinition.php
public function hasMethod($name)
    {
        $this->typeCheck->hasMethod(func_get_args());

        foreach ($this->methods() as $method) {
            if ($method->name() === $name) {
                return true;
            }
        }

        return false;
    }
public function hasMethod($name)
    {
        $this->typeCheck->hasMethod(func_get_args());

        foreach ($this->methods() as $method) {
            if ($method->name() === $name) {
                return true;
            }
        }

        return false;
    }
@param string $name

@return boolean