[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: |
|
| 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 |