It's nice that there is a way to autocomplete magic properties with @property when they are known limited amount. however in some classes I use magic properties that are generated by loading content (like simplexml or a template engine). Is there any way (other than writing a pligin) to assign magic properties depending on what's loaded?
If not, is there any simple example of a template engine plugin which I can have a look at. The custom template engine I use is everywhere in code and not having auto-completion/inspection is very inconvenient.