Skip to content

Commit 82706fa

Browse files
authored
minor improvements
1 parent 9fab460 commit 82706fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/concepts/services/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@ To do it: you declare your new service using the old service name. So if you wan
150150

151151
That's done. The service registered under the name `prestashop.core.b2b.b2b_feature` is now your service. The previous `prestashop.core.b2b.b2b_feature` is gone.
152152

153-
Since {{< minver v=8.1 >}}, some services definitions have been updated to rely on FQCN. Nothing changes, just name your service after the original FQCN :
153+
Since {{< minver v=8.1 >}}, some service definitions have been updated to rely on FQCN. Nothing changes, just name your service after the original FQCN:
154154

155155
Example :
156156
If you want override this following service
157157
```yml
158158
PrestaShop\PrestaShop\Adapter\ImageManager:
159-
arguments: [ '@PrestaShop\PrestaShop\Adapter\LegacyContext' ]
159+
arguments: [ '@PrestaShop\PrestaShop\Adapter\LegacyContext' ]
160160
```
161-
You write in config/services.yml :
161+
you can do this in your `config/services.yml`:
162162
```yml
163163
PrestaShop\PrestaShop\Adapter\ImageManager:
164164
class: YourCompany\YourModule\YourService

0 commit comments

Comments
 (0)