private function getAuditReader() { $em = $this->getServiceManager()->get("doctrine.entitymanager.orm_default"); return $this->auditManager->createAuditReader($em); }
public function __construct(Manager $auditManager) { $this->config = $auditManager->getConfiguration(); $this->metadataFactory = $auditManager->getMetadataFactory(); }