Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8337711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:22:41+00:00 2026-06-09T04:22:41+00:00

I use the word Notation because fabien potencier has its own generator but i

  • 0

I use the word Notation because fabien potencier has its own generator but i can’t find what notation (or syntax if you will) it uses for the comments.

http://fabien.potencier.org/article/63/sami-yet-another-php-api-documentation-generator

Also, where can i find the comment notation to use the document generator?
Looks like PhpDocumentor but i cant be sure.

Does symfony use this generator?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:22:42+00:00Added an answer on June 9, 2026 at 4:22 am

    Symfony 1.4 use phpDocumentor for (almost) sure.

    I never tried Sami, but I guess it can be work on Symfony 1.4.

    And about comment notation, I think there are almost the same for Sami, phpDoc, etc .. they all use DocBlock like:

    /**
      * This is the short description for a DocBlock.
      *
      * This is the long description for a DocBlock. This text may contain
      * multiple lines and even some _markdown_.
      *
      * * Markdown style lists function too
      * * Just try this out once
      *
      * The section after the long description contains the tags; which provide
      * structured meta-data concerning the given element.
      *
      * @author  Mike van Riel <mike.vanriel@naenius.com>
      *
      * @since 1.0
      *
      * @param int    $example  This is an example function/method parameter description.
      * @param string $example2 This is a second example.
      */
    

    I took a random class in Symfony 2.0:

    /**
     * Renders a Controller and returns the Response content.
     *
     * Note that this method generates an esi:include tag only when both the standalone
     * option is set to true and the request has ESI capability (@see Symfony\Component\HttpKernel\HttpCache\ESI).
     *
     * Available options:
     *
     *  * attributes: An array of request attributes (only when the first argument is a controller)
     *  * query: An array of request query parameters (only when the first argument is a controller)
     *  * ignore_errors: true to return an empty string in case of an error
     *  * alt: an alternative controller to execute in case of an error (can be a controller, a URI, or an array with the controller, the attributes, and the query arguments)
     *  * standalone: whether to generate an esi:include tag or not when ESI is supported
     *  * comment: a comment to add when returning an esi:include tag
     *
     * @param string $controller A controller name to execute (a string like BlogBundle:Post:index), or a relative URI
     * @param array  $options    An array of options
     *
     * @return string The Response content
     */
    

    And an other one from symfony 1.4:

    /**
     * Initializes this sfRequest.
     *
     * Available options:
     *
     *  * formats:           The list of supported format and their associated mime-types
     *  * path_info_key:     The path info key (default to PATH_INFO)
     *  * path_info_array:   The path info array (default to SERVER)
     *  * relative_url_root: The relative URL root
     *  * http_port:         The port to use for HTTP requests
     *  * https_port:        The port to use for HTTPS requests
     *
     * @param  sfEventDispatcher $dispatcher  An sfEventDispatcher instance
     * @param  array             $parameters  An associative array of initialization parameters
     * @param  array             $attributes  An associative array of initialization attributes
     * @param  array             $options     An associative array of options
     *
     * @return bool true, if initialization completes successfully, otherwise false
     *
     * @throws <b>sfInitializationException</b> If an error occurs while initializing this sfRequest
     *
     * @see sfRequest
     */
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

To match string, which contains some word, I can use pattern /.*word.*/. But how
I can use the MS Word ActiveX control in order to access some parameters
I have a question but I'm not sure of the word to use. My
(I use the word var in the following because I'm not sure what it
I can't use 'time' word as my column name in mysql query. This is
To find and replace all instances of a word in vim, I use %s/word/newword/g
A little back story : I have small application that will use Word to
Lets say I want to use VBA Word to find/replace. I want to find
In Outlook you can use Word as your editor for emails (not sure what
I have a user who has to use Microsoft Word 2007 to create and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.