public function validate($value, $field = null, $allFields = null) { return count(array_diff($value, $this->getParameter())) == 0; }