PHP Constructor
PHP Constructor can initialize constructor properties like insert_php_constructor_property command of SublimePHPCompanion.
Demo
Commands
[
{
"title": "Insert Constructor Property",
"command": "phpConstructor.insert"
}
]
Settings
{
"phpConstructor.visibility": "protected", // Default property visibility modifier
"phpConstructor.constructorVisibility": "protected", // Default constructor visibility modifier
"phpConstructor.choosePropertyVisibility": "public" // Choose property visibility modifier in snippet
"phpConstructor.chooseConstructorVisibility": "public" // Choose constructor visibility modifier in snippet
}
Author
License
MIT License.
Copyright (c) 2018 Mehedi Hassan
| |