Classes

Constraint that accepts classes that extend given class.

Constraint that accepts objects, classes, traits and interfaces having given method.

Constraint that accepts arrays of matches returned from preg_match() having capture groups as specified in the array of expectations.

Constraint that accepts classes that implement given interface.

Constraint that accepts classes that extend given class.