Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Invalid
    • Affects Version/s: 1.0.0ALPHA1
    • Fix Version/s: 1.0.0ALPHA1
    • Component/s: None
    • Labels:
      None

      Description

      @see http://www.doctrine-project.org/projects/mongodb_odm/1.0/docs/cookbook/getting-started/en

      The Doctrine\Common\Annotations\AnnotationReader requires an instance Doctrine\Common\Cache\Cache to be passed to it on construction. In the documentation above it is constructed with no such instance.

      Regards,

      Sam

        Activity

        Hide
        avalanche123 Bulat Shakirzyanov added a comment -

        check this out - http://github.com/jwage/doctrine2/blob/master/lib/Doctrine/Common/Annotations/AnnotationReader.php#L65
        as you can see, the $cache in the __construct, is defaulted to null, which makes it unnecessary to pass cache instance to the constructor, in which case \Doctrine\Common\Cache\ArrayCache will be used.

        Show
        avalanche123 Bulat Shakirzyanov added a comment - check this out - http://github.com/jwage/doctrine2/blob/master/lib/Doctrine/Common/Annotations/AnnotationReader.php#L65 as you can see, the $cache in the __construct, is defaulted to null, which makes it unnecessary to pass cache instance to the constructor, in which case \Doctrine\Common\Cache\ArrayCache will be used.

          People

          • Assignee:
            jwage Jonathan H. Wage
            Reporter:
            phuedx Sam Smith
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: