public function ClassNode::getMethod in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ClassNode.php \Prophecy\Doubler\Generator\Node\ClassNode::getMethod()
Parameters
string $name:
Return value
MethodNode|null
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ Generator/ Node/ ClassNode.php, line 116
Class
- ClassNode
- Class node.
Namespace
Prophecy\Doubler\Generator\NodeCode
public function getMethod($name) {
return $this
->hasMethod($name) ? $this->methods[$name] : null;
}