diff --git a/index.md b/index.md
index 61d7432923690eaf1fbf940c545c8b0b26b7e041..0857afa3072d5969548a27873bfc823f85b053b6 100644
--- a/index.md
+++ b/index.md
@@ -330,7 +330,7 @@ class Article
 <span style="font-size: 2em;color: red;">❌</span>
 
 ---
-### tarifhaus/doctrine-nullable-embeddable
+## tarifhaus/doctrine-nullable-embeddable
 
 Nécessite un setter.
 
@@ -344,7 +344,30 @@ Nécessite un setter.
 ✨ _sisi, c'est possible_ ✨
 
 ---
-## Repository as a Service
+## Repository as a Service: before
+
+```php
+class ArticleRepository extends EntityRepository
+{
+    // your methods
+}
+```
+
+```yaml
+app.infrastructure.doctrine.user_repository:
+    class: App\Infrastructure\Doctrine\UserRepository
+    factory: ["@doctrine.orm.entity_manager", getRepository]
+    arguments:
+        - App\Model\User
+```
+
+```
+[Doctrine\ORM\ORMException]
+The EntityManager is closed.
+```
+
+---
+## Repository as a Service: after
 
 Depuis DoctrineBundle 1.8.0 (novembre 2017) :
 
@@ -633,7 +656,7 @@ doctrine:
 
 ---
 <!-- .slide: data-background="./explosion2.gif" -->
-# La configuration YAML est dépréciée
+# La configuration Doctrine YAML est dépréciée
 
 ---