Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

DDC-1056 PHPStaticDriver was missing two instance variables. #34

Closed
wants to merge 1 commit into from

1 participant

@srosato

Fixes the related issue.

@srosato

Seems to have been merged by beberlei.

@elHornair elHornair referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 4, 2011
This page is out of date. Refresh to see the latest.
Showing with 13 additions and 1 deletion.
  1. +13 −1 lib/Doctrine/ORM/Mapping/Driver/StaticPHPDriver.php
View
14 lib/Doctrine/ORM/Mapping/Driver/StaticPHPDriver.php
@@ -41,6 +41,18 @@ class StaticPHPDriver implements Driver
{
private $_paths = array();
+ /**
+ * The file extension of mapping documents.
+ *
+ * @var string
+ */
+ protected $_fileExtension = '.php';
+
+ /**
+ * @param array
+ */
+ protected $_classNames;
+
public function __construct($paths)
{
$this->addPaths((array) $paths);
@@ -119,4 +131,4 @@ public function isTransient($className)
{
return method_exists($className, 'loadMetadata') ? false : true;
}
-}
+}
Something went wrong with that request. Please try again.