You are here

public function ClassNode::setParentClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Node

Code

public function setParentClass($class) {
  $this->parentClass = $class ?: 'stdClass';
}