Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1056

Using the StaticPHPDriver throws PHP Error Undefined property: Doctrine\ORM\Mapping\Driver\StaticPHPDriver::$_classNames

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: Git Master
    • Fix Version/s: 2.0.2, 2.1
    • Component/s: Mapping Drivers
    • Security Level: All
    • Labels:
      None

      Description

      Using the StaticPHPDriver throws PHP Error Undefined property: Doctrine\ORM\Mapping\Driver\StaticPHPDriver::$_classNames

      this is due to the class not having the two required instance variables $this->_classNames and $this->_fileExtension.

        Activity

        Hide
        Steven Rosato added a comment - - edited

        I have attached the patch that resolves the issue.

        Show
        Steven Rosato added a comment - - edited I have attached the patch that resolves the issue.
        Hide
        Steven Rosato added a comment - - edited

        I applied the patch and added a pull request. https://github.com/doctrine/doctrine2/pull/34

        Show
        Steven Rosato added a comment - - edited I applied the patch and added a pull request. https://github.com/doctrine/doctrine2/pull/34
        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Steven Rosato
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: