Returns a string representation of the constraint.
string
Overrides PHPUnit_Framework_SelfDescribing::toString
public function toString() {
if (is_string($this->value) && strpos($this->value, "\n") !== FALSE) {
return 'contains "' . $this->value . '"';
}
else {
return 'contains ' . PHPUnit_Util_Type::export($this->value);
}
}