Re: standardize @throws for phpdocumentor 2.0?

From: Date: Wed, 13 Aug 2003 06:33:15 +0000
Subject: Re: standardize @throws for phpdocumentor 2.0?
References: 1 2 3  Groups: php.general php.pear.doc 
Request: Send a blank email to php-general+get-159399@lists.php.net to get a copy of this message
Greg Beaver wrote:
What do you think of allowing shortened syntax, since @package is implied. In other words, all packages have to have a @package tag for all classes, so we can safely assume that a package will throw a package_error or a package_warning, etc. then, if we encounter:
I doesn't want to stick to this behavoir, better we allow @throw for the @package doc section. This @throws define a standard namespace/class for the @throws in function scope, ie: * @package myPackage * @throws PEAR_Error */ ... * @throws NOT_FOUND -> PEAR_Error::NOT_FOUND */ function ... * @throws DB_Error::MISSING_DSN */ function ...

« previous php.general (#159399) next »