You are here

public function ClassNode::hasMethod in Zircon Profile 8

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

Parameters

string $name:

Return value

bool

1 call to ClassNode::hasMethod()
ClassNode::getMethod in vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ClassNode.php

File

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

Class

ClassNode
Class node.

Namespace

Prophecy\Doubler\Generator\Node

Code

public function hasMethod($name) {
  return isset($this->methods[$name]);
}