You are here

public function PHPUnit_Framework_Constraint_IsInstanceOf::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/IsInstanceOf.php \PHPUnit_Framework_Constraint_IsInstanceOf::__construct()

Parameters

string $className:

Overrides PHPUnit_Framework_Constraint::__construct

File

vendor/phpunit/phpunit/src/Framework/Constraint/IsInstanceOf.php, line 29

Class

PHPUnit_Framework_Constraint_IsInstanceOf
Constraint that asserts that the object it is evaluated for is an instance of a given class.

Code

public function __construct($className) {
  parent::__construct();
  $this->className = $className;
}