Validates that a value is blank - meaning equal to an empty string or null:


Applies toproperty or method
ClassBlank
ValidatorBlankValidator



#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]

class Blank extends Constraint




https://chatgpt.com/share/67e7979d-b498-8006-935b-e30f97f4880d


Powered by Froala Editor