| Predefined variables will take the following values: |
| ${NAME} |
|
Method name in camel caps style without "set" prefix with the first character capitalized. For example, field name "_my_field" is
converted to "MyField".
|
| ${CLASS_NAME} |
|
The name of containing class. |
| ${SCALAR_TYPE_HINT} |
|
Contains scalar type hint if language level is PHP 7.0 or higher |
| ${RETURN_TYPE} |
|
Indicates if language level is PHP 7.0 or higher and return type can be specified for function/methods |
| ${FIELD_NAME} |
|
The original field name as is. |
| ${PARAM_NAME} |
|
Parameter name for setter. Almost the same as ${FIELD_NAME}
but with the first underscore (if any) removed. For example, field name "_myField" will be converted to
"myField". |
| ${TYPE_HINT} |
|
The type hint of the field or empty string if not specified. |
|
${DS}
|
|
Dollar sign, evaluates to a plain '$' character. |