public function ClassNode::setParentClass 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::setParentClass()
Parameters
string $class:
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ Generator/ Node/ ClassNode.php, line 40
Class
- ClassNode
- Class node.
Namespace
Prophecy\Doubler\Generator\NodeCode
public function setParentClass($class) {
$this->parentClass = $class ?: 'stdClass';
}