Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #23 from aleksip/patch-1
Browse files Browse the repository at this point in the history
Use correct name for `PsrLoggerAbstractAdapterFactory` in documentation
  • Loading branch information
Ocramius authored Oct 29, 2021
2 parents 01bf856 + 96ee33d commit a326c70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/book/service-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,22 +110,22 @@ Because the main filter is `Priority`, it can be set directly too:
];
```

## PsrLoggerAbstractServiceFactory
## PsrLoggerAbstractAdapterFactory

As with the [`LoggerAbstractServiceFactory` above](#loggerabstractservicefactory),
you can use `PsrLoggerAbstractServiceFactory` to create [PSR-3-conforming
you can use `PsrLoggerAbstractAdapterFactory` to create [PSR-3-conforming
logger instances](psr3.md). Register it as an abstract factory in your
configuration; as an example:

```php
// module.config.php

use Laminas\Log\PsrLoggerAbstractServiceFactory;
use Laminas\Log\PsrLoggerAbstractAdapterFactory;

return [
'service_manager' => [
'abstract_factories' => [
PsrLoggerAbstractServiceFactory::class,
PsrLoggerAbstractAdapterFactory::class,
],
],
];
Expand Down

0 comments on commit a326c70

Please sign in to comment.