Documenting PHP classes that use __call()
I was wondering if there is a way to force phpDocumentor to print out the potential methods you could use for getting and setting when you do them dynamically with a __call()
.
In the case of my simple getter, I would want it to cycle through all private va开发者_如何学Pythonriables and just append get
to them (and uppercase the first letter, of course).
See the phpDocumentor reference on @method
.
精彩评论