You are here

public function MethodNode::__construct in Zircon Profile 8

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

Parameters

string $name:

string $code:

File

vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/MethodNode.php, line 39

Class

MethodNode
Method node.

Namespace

Prophecy\Doubler\Generator\Node

Code

public function __construct($name, $code = null) {
  $this->name = $name;
  $this->code = $code;
}