Toby
Toby

Reputation: 8792

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 variables and just append get to them (and uppercase the first letter, of course).

Upvotes: 5

Views: 1455

Answers (1)

josemimg
josemimg

Reputation: 241

See the phpDocumentor reference on @method.

Upvotes: 11

Related Questions