FormConfigBuilder::validateName()

static validateName(string|int $name)

Validates whether the given variable is a valid form name.

Parameters

string|int $name The tested form name

Exceptions

UnexpectedTypeException If the name is not a string or an integer.
InvalidArgumentException If the name contains invalid characters.
doc_Symfony
2016-10-28 06:18:02
Comments
Leave a Comment

Please login to continue.