Permalink
Browse files

keep deprecateed 'getEntity' method

  • Loading branch information...
1 parent 5f0db41 commit 3c35cd1a2e17dfd33037c8d2735cded0f64ef1de @docteurklein docteurklein committed Nov 21, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 lib/Doctrine/Common/Persistence/Event/LifecycleEventArgs.php
@@ -56,6 +56,17 @@ public function __construct($object, ObjectManager $objectManager)
}
/**
+ * Retrieve associated entity.
+ * @deprecated
+ *
+ * @return entity
+ */
+ public function getEntity()
+ {
+ return $this->object;
+ }
+
+ /**
* Retrieve associated object.
*
* @return object

0 comments on commit 3c35cd1

Please sign in to comment.