Skip to content

Commit

Permalink
Add aliases for @dh_doctrine_audit.configuration and `dh_doctrine_a…
Browse files Browse the repository at this point in the history
…udit.reader` services (fixes #36)
  • Loading branch information
DamienHarper committed Feb 6, 2019
1 parent c4fa773 commit 9811a32
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/DoctrineAuditBundle/Resources/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,19 @@ services:
arguments: ["%dh_doctrine_audit.configuration%", "@dh_doctrine_audit.user_provider", "@request_stack"]
public: true

DH\DoctrineAuditBundle\AuditConfiguration:
alias: dh_doctrine_audit.configuration
public: true

dh_doctrine_audit.reader:
class: DH\DoctrineAuditBundle\AuditReader
arguments: ["@dh_doctrine_audit.configuration", "@doctrine.orm.default_entity_manager"]
public: true

DH\DoctrineAuditBundle\AuditReader:
alias: dh_doctrine_audit.reader
public: true

dh_doctrine_audit.event_subscriber.audit:
class: DH\DoctrineAuditBundle\EventSubscriber\AuditSubscriber
arguments: ["@dh_doctrine_audit.configuration"]
Expand Down

0 comments on commit 9811a32

Please sign in to comment.