protected function notIntersect(array $values, $failMessage, $strict)
{
$this->valueIsSet();
$knownValues = array();
foreach ($values as $value) {
if (in_array($value, $this->value, $strict) === true) {
$knownValues[] = $value;
}
}
if (sizeof($knownValues) <= 0) {
$this->pass();
} else {
if ($failMessage === null) {
if ($strict === false) {
$failMessage = $this->_('%s contains values %s', $this, $this->getTypeOf($knownValues));
} else {
$failMessage = $this->_('%s contains strictly values %s', $this, $this->getTypeOf($knownValues));
}
}
$this->fail($failMessage);
}
return $this;
}