Pop\Code\Generator\InterfaceGenerator::removeMethod PHP Method

removeMethod() public method

Remove a method property
public removeMethod ( mixed $method ) : ClassGenerator
$method mixed
return ClassGenerator
    public function removeMethod($method)
    {
        $m = $method instanceof MethodGenerator ? $method->getName() : $method;
        if (isset($this->methods[$m])) {
            unset($this->methods[$m]);
        }
        return $this;
    }