Doctrine Common
  1. Doctrine Common
  2. DCOM-45

Allow different namespaces for the same alias

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Annotations
    • Labels:
      None

      Description

      Right now, it is only possible to register one namespace per annotation alias. This might lead to problems since we now throw exceptions if an annotation is not found in that namespace (https://github.com/doctrine/common/commit/8967f476ddcdb7b9017a8be7f774979ca4c72247).

      This improvement would be a necessary first step in order to overcome the problem we talked about on IRC (FrameworkExtra/SecurityExtra both using the "extra" alias).

        Activity

        Hide
        Johannes Schmitt added a comment -

        I'll close this as there is a better solution now.

        Show
        Johannes Schmitt added a comment - I'll close this as there is a better solution now.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Johannes Schmitt
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: