A built-in template for PHP constructor. |
Predefined variables will take the following values: | ||
A comma-separated list of constructor parameters, one for each selected field. | ||
Parameters' doc comment. Generated as a number of lines '* @param type name". If there are no parameters, evaluates to an empty content. |
||
Exceptions' doc comment. Generated as a number of lines '* @throws type". If there are no thrown exceptions, evaluates to an empty content. |
||
Class name. | ||
Constructor body containing "$this->field=$field;" assignments. |