Skip to content

Commit 2fc00fc

Browse files
committed
fix code block syntax
1 parent 94460ee commit 2fc00fc

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

service_container.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -975,19 +975,19 @@ for classes under the same namespace:
975975
In order to have multiple definitions, add the ``namespace`` option and use any
976976
unique string as the key of each service config:
977977

978-
.. code-block:: yaml
978+
.. code-block:: yaml
979979
980-
# app/config/services.yml
981-
services:
982-
command_handlers:
983-
namespace: App\Domain\
984-
resource: '../../src/Domain/*/CommandHandler'
985-
tags: [command_handler]
986-
987-
event_subscribers:
988-
namespace: App\Domain\
989-
resource: '../../src/Domain/*/EventSubscriber'
990-
tags: [event_subscriber]
980+
# app/config/services.yml
981+
services:
982+
command_handlers:
983+
namespace: App\Domain\
984+
resource: '../../src/Domain/*/CommandHandler'
985+
tags: [command_handler]
986+
987+
event_subscribers:
988+
namespace: App\Domain\
989+
resource: '../../src/Domain/*/EventSubscriber'
990+
tags: [event_subscriber]
991991
992992
.. _services-explicitly-configure-wire-services:
993993

0 commit comments

Comments
 (0)