Re: standardize @throws for phpdocumentor 2.0?
| From: | Greg Beaver | Date: | Mon, 11 Aug 2003 18:44:31 +0000 |
| Subject: | Re: standardize @throws for phpdocumentor 2.0? | ||
| References: | 1 2 | Groups: | php.general php.pear.doc |
| Request: | Send a blank email to php-general+get-159171@lists.php.net to get a copy of this message | ||
Alexander Merz wrote:
Greg Beaver wrote:Right on :). This makes more sense for PEAR. One thing we're investigating as a possibility for 2.0 is to have sub-tags @throws:pear would be a sub-tag of @throws, so that we could have a loose spec for @throws (allowing constant or classname or classname::constant) and a rigid spec for @throws:pear (only classname::constant) Any caveats? GregWe are thinking of standardizing the format of @throws for phpDocumentor 2.0. The possible format we'd like to use is:@throws constant|classname [description]@throws error_class::constant description ie @throws PEAR_Error::NOT_FOUND ....