Skip to content

Commit

Permalink
mention autoloading of plugin manager factory in MVC and Mezzio appli…
Browse files Browse the repository at this point in the history
…cations

Signed-off-by: Marc-Jan Barnhoorn <marc-jan@gekvansoftware.nl>
  • Loading branch information
marc-jan committed Jan 17, 2021
1 parent fa8e25e commit a3e0609
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/book/plugin-manager.md
Expand Up @@ -14,6 +14,8 @@ The `AdapterPluginManager` extends the laminas-servicemanager
`Laminas\Serializer\AdapterPluginManagerFactory` when wired to the dependency
injection container.

The factory will be automatically registered when loading/installing the `Laminas\Serializer` module in `laminas-mvc` and/or loading/installing the `ConfigProvider` into a Mezzio application.

The factory will look for the `config` service, and use the `serializers`
configuration key to seed it with additional services. This configuration key
should map to an array that follows [standard laminas-servicemanager configuration](https://docs.laminas.dev/laminas-servicemanager/configuring-the-service-manager/).
Expand Down

0 comments on commit a3e0609

Please sign in to comment.