🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# C.75 PhpDocumentor2Task This task runs [phpDocumentor 2](http://www.phpdoc.org/), a PHP 5.3-compatible API documentation tool. This project is the result of the merge of the phpDocumentor and DocBlox projects. Table C.102:聽Attributes NameTypeDescriptionDefaultRequired`title``String`Title of the project.n/aNo`destdir``String`Destination directory for output files.n/aYes`template``String`Name of the documentation template to use.`responsive-twig`No`defaultPackageName``String`Name of the default package.`Default`No`pharlocation``String`Location of the phpDocumentor PHAR package.n/aNo C.75.1 Example ``` <phpdoc2 title="API Documentation" destdir="apidocs" template="responsive-twig"> <fileset dir="./classes"> <include name="**/*.php" /> </fileset> </phpdoc2> ``` C.75.2 Supported Nested Tags - `fileset` - Files that should be included for parsing