Permalink
Browse files

Merge pull request #70 from lsmith77/get_class_name

added ObjectRepository::getClassName()
  • Loading branch information...
2 parents 06e9f72 + 9eb36fd commit 6c37d60eeb7a6ab7a3a2932a6041fd006806b537 @beberlei beberlei committed Dec 18, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/Doctrine/Common/Persistence/ObjectRepository.php
View
7 lib/Doctrine/Common/Persistence/ObjectRepository.php
@@ -68,4 +68,11 @@ function findBy(array $criteria, array $orderBy = null, $limit = null, $offset =
* @return object The object.
*/
function findOneBy(array $criteria);
+
+ /**
+ * Returns the class name of the object managed by the repository
+ *
+ * @return string
+ */
+ function getClassName();
}

0 comments on commit 6c37d60

Please sign in to comment.