continue;
} $criteria[$fieldName] =
$fieldValue;
if (null !==
$criteria[$fieldName] &&
$class->
hasAssociation($fieldName)) { /* Ensure the Proxy is initialized before using reflection to
* read its identifiers. This is necessary because the wrapped
* getter methods in the Proxy are being bypassed.
*/
$em->
initializeObject($criteria[$fieldName]);
} } // validation doesn't fail if one of the fields is null and if null values should be ignored
if ($hasIgnorableNullValue) { return;
} // skip validation if there are no criteria (this can happen when the
// "ignoreNull" option is enabled and fields to be checked are null
if (empty($criteria)) {