phpDocumentor
[ class tree: phpDocumentor ] [ index: phpDocumentor ] [ all elements ]
Prev Next

@since

Document when (at which version) an element was first added to a package

Description

The @since tag may be used to document the release version of any element that can be documented (global variable, include, constant, function, define, class, variable, method, page). phpDocumentor will display the version/info string unaltered.

Use @since to document revisions, as in "This function has been a part of this package since version 2.0"

Example

Here's an example:

  1. /**
  2.  * Page-level DocBlock
  3.  * @package BigImportantProjectWithLotsofVersions
  4.  * @version 72.5
  5.  */
  6. /**
  7.  * function datafunction
  8.  * @since Version 21.1
  9.  */
  10. function datafunction()
  11. {
  12. ...
  13. }

Prev Up Next
@see phpDocumentor tags @static

Documentation generated on Tue, 06 Dec 2011 07:09:43 -0600 by phpDocumentor 1.4.4