IsInstanceOf.php Interfaces, Classes and Traits PHPUnit_Framework_Constraint_IsInstanceOf Constraint that asserts that the object it is evaluated for is an instance of a given class.