Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1513

Missing documentation for using references in Docs

    Details

    • Type: Documentation Documentation
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation
    • Security Level: All
    • Labels:
      None

      Description

      I am in the process of switching over from Doctrine 2.0.7 to Doctrine 2.1 and one of the major missing components in my entities was the new use of using the mapping entity.

      Example:

       
      <?php
      namespace My\Project\Entities;
      use Doctrine\ORM\Mapping\Entity as ORM;
      /**
       * @ORM\Entity(...)
       */
      class Something
      {
      // Doctrine annotations here
      }
      

      The nessecity for this to be included in the entities is (as far as I can tell) nowhere to be found in the docs, so I am a little curious as to how people are supposed to know. I have also had a look here: http://www.doctrine-project.org/blog/doctrine-2-1-beta-release and can see no references too it.

      Am I missing something; or is it really just missing from the docs?

        Activity

        Thomas Gray created issue -
        Thomas Gray made changes -
        Field Original Value New Value
        Description I am in the process of switching over from Doctrine 2.0.7 to Doctrine 2.1 and one of the major missing components in my entities was the new use of using the mapping entity.

        Example:

        [code]
        <?php
        namespace My\Project\Entities;
        use Doctrine\ORM\Mapping\Entity as ORM;
        /**
         * @ORM\Entity(...)
         */
        class Something
        {
        // Doctrine annotations here
        }
        [/code]

        The nessecity for this to be included in the entities is (as far as I can tell) nowhere to be found in the docs, so I am a little curious as to how people are supposed to know. I have also had a look here: http://www.doctrine-project.org/blog/doctrine-2-1-beta-release and can see no references too it.

        Am I missing something; or is it really just missing from the docs?
        I am in the process of switching over from Doctrine 2.0.7 to Doctrine 2.1 and one of the major missing components in my entities was the new use of using the mapping entity.

        Example:

        {noformat}
        <?php
        namespace My\Project\Entities;
        use Doctrine\ORM\Mapping\Entity as ORM;
        /**
         * @ORM\Entity(...)
         */
        class Something
        {
        // Doctrine annotations here
        }
        {noformat}

        The nessecity for this to be included in the entities is (as far as I can tell) nowhere to be found in the docs, so I am a little curious as to how people are supposed to know. I have also had a look here: http://www.doctrine-project.org/blog/doctrine-2-1-beta-release and can see no references too it.

        Am I missing something; or is it really just missing from the docs?
        Hide
        Erik Bernhardson added a comment -

        I also glanced through the docs and didn't find it. I would suggest it be added to the Annotations Reference page: http://www.doctrine-project.org/docs/orm/2.1/en/reference/annotations-reference.html

        Show
        Erik Bernhardson added a comment - I also glanced through the docs and didn't find it. I would suggest it be added to the Annotations Reference page: http://www.doctrine-project.org/docs/orm/2.1/en/reference/annotations-reference.html
        Hide
        Thomas Gray added a comment -

        Ahh, so there are some docs about it; http://www.doctrine-project.org/docs/common/2.1/en/reference/annotations.html however they do not seem to be that clear; nor well linked too.

        Show
        Thomas Gray added a comment - Ahh, so there are some docs about it; http://www.doctrine-project.org/docs/common/2.1/en/reference/annotations.html however they do not seem to be that clear; nor well linked too.
        Benjamin Eberlei made changes -
        Workflow jira [ 13225 ] jira-feedback [ 13994 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13994 ] jira-feedback2 [ 15858 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15858 ] jira-feedback3 [ 18114 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1513, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Thomas Gray
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: