Previous Up Next
@see phpDocumentor tags @static

@since

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

Gregory Beaver
Tag Documentation written by [email protected]
Copyright 2002, Gregory Beaver
(phpDocumentor 0.1+)
@since version/info string [unspecified format]

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

Previous Up Next
@see phpDocumentor tags @static

Documentation generated on Mon, 05 Dec 2011 21:35:24 -0600 by phpDocumentor 1.4.4