Doctrine Common
  1. Doctrine Common
  2. DCOM-34

calling setAutoloadAnnotationClasses on doctrine annotations reader causes fatal error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.2
    • Component/s: Annotations
    • Labels:
      None
    • Environment:
      Snow leopard, intel

      Description

      When I try to set setAutoloadAnnotationClasses(true) gives me a fatal error, call to undefined method

      PHP Fatal error: Call to undefined method Doctrine\Common\Annotations\AnnotationReader::setAutoloadAnnotationClasses()

        Activity

        Hide
        Guilherme Blanco added a comment -

        The correct method name is: setAutoloadAnnotations

        We need to fix the documentation of Common package.

        Show
        Guilherme Blanco added a comment - The correct method name is: setAutoloadAnnotations We need to fix the documentation of Common package.
        Hide
        Guilherme Blanco added a comment -

        Fixed

        Show
        Guilherme Blanco added a comment - Fixed

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Hash Panak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: