PHP Constructor can initialize constructor properties like insert_php_constructor_property
command of SublimePHPCompanion.
[
{
"title": "Insert Constructor Property",
"command": "phpConstructor.insert"
}
]
{
"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
}
MIT License.
Copyright (c) 2018 Mehedi Hassan