Skip to content

Commit

Permalink
Fix events doc; use Event class for naming events in AbstractAbstract…
Browse files Browse the repository at this point in the history
…Factory
  • Loading branch information
TomHAnderson committed Jul 3, 2018
1 parent 30b1325 commit 15b6d38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/events.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Events
======

All events are grouped under a common **ZF\Doctrine\GraphQL\Event** object. In this repository the same event
All events are grouped under a common **ZF\\Doctrine\\GraphQL\\Event** object. In this repository the same event
can be called in different places based on context such as when building an EntityType and when building the
filters for an EntityType; both places need the same type override. That is why all events are grouped.

Expand Down Expand Up @@ -100,4 +100,4 @@ A good solution is to turn the value into JSON in a hydrator strategy and overri
Authored by **API Skeletons <https://apiskeletons.com>**_. All rights reserved.

:raw-html:**<script async src="https://www.googletagmanager.com/gtag/js?id=UA-64198835-4"></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-64198835-4');</script>**
:raw-html:`<script async src="https://www.googletagmanager.com/gtag/js?id=UA-64198835-4"></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-64198835-4');</script>`
2 changes: 1 addition & 1 deletion src/AbstractAbstractFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ private function createEventManager(SharedEventManagerInterface $sharedEventMana
$this->events = new EventManager(
$sharedEventManager,
[
'ZF\\Doctrine\\GraphQL\\Event',
Event::class,
]
);

Expand Down

0 comments on commit 15b6d38

Please sign in to comment.