.. _`Flow Validator Reference`: Flow Validator Reference ======================== This reference was automatically generated from code on 2025-02-12 .. _`Flow Validator Reference: AggregateBoundaryValidator`: AggregateBoundaryValidator -------------------------- A validator which will not validate Aggregates that are lazy loaded and uninitialized. Validation over Aggregate Boundaries can hence be forced by making the relation to other Aggregate Roots eager loaded. Note that this validator is not part of the public API and you should not use it manually. Checks if the given value is valid according to the validator, and returns the Error Messages object which occurred. Will skip validation if value is an uninitialized lazy loading proxy. .. note:: A value of NULL or an empty string ('') is considered valid Arguments ********* * ``skipUnInitializedProxies`` (boolean, *optional*): Whether proxies not yet initialized should be skipped during validation .. _`Flow Validator Reference: AlphanumericValidator`: AlphanumericValidator --------------------- Validator for alphanumeric strings. The given $value is valid if it is an alphanumeric string, which is defined as [[:alnum:]]. .. note:: A value of NULL or an empty string ('') is considered valid .. _`Flow Validator Reference: BooleanValueValidator`: BooleanValueValidator --------------------- Validator for a specific boolean value. Checks if the given value is a specific boolean value. .. note:: A value of NULL or an empty string ('') is considered valid Arguments ********* * ``expectedValue`` (boolean, *optional*): The expected boolean value .. _`Flow Validator Reference: CollectionValidator`: CollectionValidator ------------------- A generic collection validator. Checks for a collection and if needed validates the items in the collection. This is done with the specified element validator or a validator based on the given element type and validation group. Either elementValidator or elementType must be given, otherwise validation will be skipped. .. note:: A value of NULL or an empty string ('') is considered valid Arguments ********* * ``elementValidator`` (string, *optional*): The validator type to use for the collection elements * ``elementValidatorOptions`` (array, *optional*): The validator options to use for the collection elements * ``elementType`` (string, *optional*): The type of the elements in the collection * ``validationGroups`` (string, *optional*): The validation groups to link to .. _`Flow Validator Reference: CountValidator`: CountValidator -------------- Validator for countable things The given value is valid if it is an array or \Countable that contains the specified amount of elements. .. note:: A value of NULL or an empty string ('') is considered valid Arguments ********* * ``minimum`` (integer, *optional*): The minimum count to accept * ``maximum`` (integer, *optional*): The maximum count to accept .. _`Flow Validator Reference: DateTimeRangeValidator`: DateTimeRangeValidator ---------------------- Validator for checking Date and Time boundaries Adds errors if the given DateTime does not match the set boundaries. latestDate and earliestDate may be each