Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #70 from lsmith77/get_class_name

added ObjectRepository::getClassName()
  • Loading branch information...
commit 6c37d60eeb7a6ab7a3a2932a6041fd006806b537 2 parents 06e9f72 + 9eb36fd
Benjamin Eberlei beberlei authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/Doctrine/Common/Persistence/ObjectRepository.php
7 lib/Doctrine/Common/Persistence/ObjectRepository.php
View
@@ -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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.