Skip to content
Browse files

added isTransient() to ClassMetadataFactory

  • Loading branch information...
1 parent 98d4e14 commit 5d39d150950492dbedf345b8b509f831ae1ebf6e @lsmith77 lsmith77 committed Sep 25, 2011
Showing with 14 additions and 1 deletion.
  1. +13 −0 lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadataFactory.php
  2. +1 −1 lib/vendor/doctrine-common
View
13 lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadataFactory.php
@@ -262,4 +262,17 @@ protected function newClassMetadataInstance($className)
{
return new ClassMetadata($className);
}
+
+ /**
+ * Whether the class with the specified name should have its metadata loaded.
+ * This is only the case if it is either mapped as an Entity or a
+ * MappedSuperclass.
+ *
+ * @param string $className
+ * @return boolean
+ */
+ public function isTransient($className)
+ {
+ return $this->driver->isTransient($className);
+ }
}
2 lib/vendor/doctrine-common
@@ -1 +1 @@
-Subproject commit 40f1bf16e84ddc5291a6a63aa00b9879c40e3500
+Subproject commit 1b2a7d9b89a886dfb5d862660cf6576bb605dedd

0 comments on commit 5d39d15

Please sign in to comment.
Something went wrong with that request. Please try again.