Doctrine Common
  1. Doctrine Common
  2. DCOM-30

Documentation Bug regarding setAnnotationNamespaceAlias

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      In the documentation on http://www.doctrine-project.org/projects/common/2.0/docs/reference/annotations/en#setup-and-configuration:namespace-aliases I'm given the following example:

      $reader->setAnnotationNamespaceAlias('MyCompany\Annotations', 'my');

      However, this only works here if I do it that way:

      $reader->setAnnotationNamespaceAlias('MyCompany\Annotations\\', 'my');

      If the latter one is correct, it should be documented as such.

        Activity

        Hide
        Guilherme Blanco added a comment -

        Already fixed in documentation.

        Show
        Guilherme Blanco added a comment - Already fixed in documentation.

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Timo A. Hummel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: