Skip to content

Commit

Permalink
Update documentation formatting to fix list indentation
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Brückner <[email protected]>
  • Loading branch information
froschdesign committed Mar 8, 2024
1 parent badde31 commit 344f0a0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/book/v3/cookbook/factories-vs-abstract-factories.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ The service manager is optimized to locate *factories*, as it can do an
immediate hash table lookup; abstract factories involve:

- Looping through each abstract factory
- invoking its method for service location
- if the service is located, using the factory
- invoking its method for service location
- if the service is located, using the factory

This means, internally:

- a hash table lookup (for the abstract factory)
- invocation of 1:N methods for discovery
- which may contain additional lookups and/or retrievals in the container
- which may contain additional lookups and/or retrievals in the container
- invocation of a factory method (assuming successful lookup)

As such, having an explicit map can aid performance dramatically.
Expand Down
4 changes: 2 additions & 2 deletions docs/book/v3/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -952,9 +952,9 @@ In addition, review the following changes.
#### Constructor

- The constructor now accepts the following arguments, in the following order:
- The parent container instance; this is usually the application-level
- The parent container instance; this is usually the application-level
`ServiceManager` instance.
- Optionally, an array of configuration for the plugin manager instance; this
- Optionally, an array of configuration for the plugin manager instance; this
should have the same format as for a `ServiceManager` instance.
- `validatePlugin()` was renamed to `validate()` (now defined in
`PluginManagerInterface`). The `AbstractPluginManager` provides
Expand Down
6 changes: 3 additions & 3 deletions docs/book/v4/cookbook/factories-vs-abstract-factories.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ The service manager is optimized to locate *factories*, as it can do an
immediate hash table lookup; abstract factories involve:

- Looping through each abstract factory
- invoking its method for service location
- if the service is located, using the factory
- invoking its method for service location
- if the service is located, using the factory

This means, internally:

- a hash table lookup (for the abstract factory)
- invocation of 1:N methods for discovery
- which may contain additional lookups and/or retrievals in the container
- which may contain additional lookups and/or retrievals in the container
- invocation of a factory method (assuming successful lookup)

As such, having an explicit map can aid performance dramatically.
Expand Down

0 comments on commit 344f0a0

Please sign in to comment.