In the last week i have picked up the ZF2. I have read the documentation and alot of blogs and belive I am familiar with the new concepts introduced in the ZF2. Albeit i am still learning. As a learning excercise i have been createing my own Authentication module. At the same time i havebeen looking through the ZfcUser module.
My question is regarding the event that is triggered in the User class in the Mapper section (https://github.com/ZF-Commons/ZfcUser/b ... r/User.php)
I cannot work out what the purpose of this event is, or what it is triggering. I have searched through the entire module but im still at a loss.
Code: Select all
$this->getEventManager()->trigger('find', $this, array('entity' => $entity));
Please couls someone explain to me the purpose of this event, and what it actually does ?