Predefined variables will take the following values: |
${STATIC} |
|
If the field is static takes the value of "static" or empty string otherwise. |
${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 |
${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. |
${VOID_RETURN_TYPE} |
|
Indicates if void return type is available for PHP Language Level in project |
${DS}
|
|
Dollar sign, evaluates to a plain '$' character. |