[DDC-1056] Using the StaticPHPDriver throws PHP Error Undefined property: Doctrine\ORM\Mapping\Driver\StaticPHPDriver::$_classNames Created: 03/Mar/11  Updated: 04/Mar/11  Resolved: 04/Mar/11

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: Mapping Drivers
Affects Version/s: Git Master
Fix Version/s: 2.0.2, 2.1
Security Level: All

Type: Bug Priority: Trivial
Reporter: Steven Rosato Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None

Attachments: Text File 0001-DDC-1056-PHPStaticDriver-was-missing-two-instance-va.patch    

 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.



 Comments   
Comment by Steven Rosato [ 03/Mar/11 ]

I have attached the patch that resolves the issue.

Comment by Steven Rosato [ 03/Mar/11 ]

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

Comment by Benjamin Eberlei [ 04/Mar/11 ]

Fixed

Generated at Thu Oct 23 14:32:18 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.