|
Predefined variables will take the following values: |
| ${STATIC} |
|
If the field is static takes the value of "static" or empty string otherwise. |
| ${GET_OR_IS} |
|
get/is prefix. Evaluates to "is" if the field has a boolean type (type hint) or to "get" string otherwise.
|
| ${NAME} |
|
Method name in camel caps style without "get" prefix with the first character capitalized. For example, field name "_my_field" is
converted to "MyField"
|
| ${CLASS_NAME} |
|
The name of containing class. |
| ${RETURN_TYPE} |
|
Contains return type hint if language level is PHP 7.0 or higher |
| ${FIELD_NAME} |
|
The original field name as is. |
| ${TYPE_HINT} |
|
The type hint of the field or empty string if not specified. |
|
${DS}
|
|
Dollar sign, evaluates to a plain '$' character. |