$forceFormat public property
Specifies the format, which validated attribute value should be converted to in case validation was successful. valid values are:
- 'string' - enforce value converted to plain string.
- 'object' - enforce value converted to \MongoId instance. If not set - no conversion will be performed, leaving attribute value intact.
public string|null $forceFormat = null
Please login to continue.