From 8bbe033e6fb7a49f1ae62be01bc11c00df27a9b7 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 13 Dec 2022 18:12:41 +0100 Subject: [PATCH] fix eventsubscriver --- docs/entities/em.md | 4 ++-- docs/tree/page.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/entities/em.md b/docs/entities/em.md index bd63881..610d9f2 100644 --- a/docs/entities/em.md +++ b/docs/entities/em.md @@ -63,12 +63,12 @@ class FooController Events are dispatched before and after creation, update and deletion. All entities of Muprh use the entity manager. ``` -// src/EventSuscriber/MyEntityEventSubscriber.php +// src/EventSubscriber/MyEntityEventSubscriber.php namespace App\EventSubscriber; use App\Core\Entity\EntityInterface; use App\Core\Event\EntityManager\EntityManagerEvent; -use App\Core\EventSuscriber\EntityManagerEventSubscriber; +use App\Core\EventSubscriber\EntityManagerEventSubscriber; use App\Entity\MyEntity; class MyEntityEventSubscriber extends EntityManagerEventSubscriber diff --git a/docs/tree/page.md b/docs/tree/page.md index f8c5b69..a1f4315 100644 --- a/docs/tree/page.md +++ b/docs/tree/page.md @@ -143,8 +143,8 @@ public function getMyBlock(): Block When a page is being edited, the options can be set as follows: ``` -// src/EventSuscriber/PageEventSubscriber.php -namespace App\EventSuscriber; +// src/EventSubscriber/PageEventSubscriber.php +namespace App\EventSubscriber; use App\Core\Event\Page\PageEditEvent; use App\Entity\Page\YourPage;