public function setWith($value, $checkType = true)
{
parent::setWith($value, $checkType);
if ($checkType === true) {
if (self::isIterator($this->value) === false) {
$this->fail($this->getLocale()->_('%s is not an iterator', $this));
} else {
$this->pass();
}
}
return $this;
}