public function __construct($name, Node\Stmt\ClassMethod $statement, $type) { $this->name = $name; $this->statement = $statement; $this->type = $type; }