/var/www/cobraambalaj/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text
Edit: /var/www/cobraambalaj/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringContains.php (850B)
_substring);
}
/**
* Matches if value is a string that contains $substring.
*
* @factory
*/
public static function containsString($substring)
{
return new self($substring);
}
// -- Protected Methods
protected function evalSubstringOf($item)
{
return (false !== strpos((string) $item, $this->_substring));
}
protected function relationship()
{
return 'containing';
}
}