Alexander Merz wrote:
Greg Beaver wrote:

We 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 ....



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?

Greg


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to