开发者

Documenting PHP classes that use __call()

开发者 https://www.devze.com 2023-02-14 15:14 出处:网络
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().

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号