Usage of PHP Doc class annotations

Source: Internet
Author: User
Usage of PHP doc type annotations
/*** @name name * @abstract DECLARE variable/class/method * @access indicate access rights for this variable, class, Function/method * @author function Author's name and email address * @category  organization packages* @ Copyright information * @const specified constants * @deprecate indicate deprecated or deprecated information * @example Example * @exclude indicates that the current comment will not be analyzed and does not appear in the text block * @final indicate that this is a final class, party method, attribute, prohibit derivation, modify.  * @global indicate the global variable referenced in this function * @include indicate the information contained in the file * @link define an online connection * @module define the module information for attribution * @modulegroup define the attribution of the module group * @package Define the ownership of the package information * @param define the parameter information for a function or method * @return Define the return information of a function or method * @see define the function, variable, and add the corresponding super-connection. * @since indicates which version of the API function or method was introduced from * @static indicates that variables, classes, functions are static. * @throws indicate the error exception that may be thrown by this function, the very occurrence of the condition * @todo indicate where it should be improved or not implemented * @var define the description variable/property. * @version Define version information */
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.