removeMethod() public method

Returns true if method was successfully removed. Returns false if method was not found, or could not be removed.
public removeMethod ( string $methodName ) : boolean
$methodName string
return boolean
 /**
  * {@inheritdoc}
  */
 public function removeMethod($methodName)
 {
     return $this->reflectionClass->removeMethod($methodName);
 }