Create a syntax-highlighted cross-referenced file containing source code of the current file and link to it.


  • File Block


  • The @filesource tag can only be used in a File docBlock Level only, it will be ignored anywhere else.
  • phpDocumentor parses the file source of the current file, and outputs syntax-highlighted source code with line numbers, links to documentation and then adds a link to the generated file in the documentation.
  • The @example tag serves a similar purpose, but is designed to parse and create a link to an external example file.


[cc lang=php”]

Return to Tag List

  1. No comments yet.
(will not be published)

Why ask?