StringContains.php Interfaces, Classes and Traits PHPUnit_Framework_Constraint_StringContains Constraint that asserts that the string it is evaluated for contains a given string.