By default the extension will generate getters & setters using its own templates but you can fully customise the markup used to generate them,
by setting phpGettersSetters.templatesDir with the path to the directory that holds both your getter/setter.js.
As you can see a Property object is passed to templates so you can access any public method there. I also like the idea of adding more stuff as users find limits. Open an issue if you find something you cannot achieve.
Does NOT support multiple classes in a single document.