protected function createMatcher() { return \Hamcrest\Core\IsInstanceOf::anInstanceOf('stdClass'); }
/** * Is the value an instance of a particular type? * This version assumes no relationship between the required type and * the signature of the method that sets it up, for example in * <code>assertThat($anObject, anInstanceOf('Thing'));</code> */ function any($theClass) { return \Hamcrest\Core\IsInstanceOf::anInstanceOf($theClass); }