You are here

public function ClassNode::removeMethod in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ClassNode.php \Prophecy\Doubler\Generator\Node\ClassNode::removeMethod()

File

vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ClassNode.php, line 106

Class

ClassNode
Class node.

Namespace

Prophecy\Doubler\Generator\Node

Code

public function removeMethod($name) {
  unset($this->methods[$name]);
}