What is the correct way to document PHP constants (define) with phpDocumentor -
How does the definition defined in PHP (with) we want to document?
I did not find anything in the docs, but the following example (which I do not see its use) was found in sample2.php:
/ ** # @ + * Constant * / / ** * first define * / / ('test', 6); / ** * second static * / define ('another content', strangel ('hello')); Anyone can tell me what is the best way to write constants in PHP with phpDocumentor?
Defined statements are normally commenting only with a descriptive text, so basically you How to comment on it
To know more about the Dokblock template tag, check out / ** # @ +
,
Comments
Post a Comment