Skip to content

Commit

Permalink
Merge pull request #170 from laminas/renovate/lock-file-maintenance
Browse files Browse the repository at this point in the history
Lock file maintenance
  • Loading branch information
Xerkus authored Oct 18, 2024
2 parents 8aaaee9 + 7a38c11 commit d569d62
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 60 deletions.
100 changes: 50 additions & 50 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/book/mvc-event.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ The following listeners are only attached in a console context:

Class | Priority | Method Called | Description
------------------------------------------------|---------:|-----------------------------|------------
`Laminas\Mvc\View\Console\RouteNotFoundStrategy` | 1 | `handleRouteNotFoundError ` | Detect if an error is a "route not found" condition. If a “controller not found” or “invalid controller” error type is encountered, sets the response status code to 404.
`Laminas\Mvc\View\Console\RouteNotFoundStrategy` | 1 | `handleRouteNotFoundError` | Detect if an error is a "route not found" condition. If a “controller not found” or “invalid controller” error type is encountered, sets the response status code to 404.
`Laminas\Mvc\View\Console\ExceptionStrategy` | 1 | `prepareExceptionViewModel` | Create an exception view model, and sets the status code to 404.
`Laminas\Mvc\View\Console\InjectViewModelListener` | -100 | `injectViewModel` | Inserts the `ViewModel` (in this case, a `ConsoleModel`) and adds it to the `MvcEvent` object. It either (a) adds it as a child to the default, composed view model, or (b) replaces it if the result is marked as terminable.

Expand Down
14 changes: 7 additions & 7 deletions docs/book/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,13 @@ generate a URL string from the provided parameters. It has the following
signature:

- `fromRoute(string $route = null, array $params = [], array $options = [], bool $reuseMatchedParams = false): string`, where:
- `$name`: the name of the route to use for URL generation.
- `$params`: Any parameter substitutions to use with the named route.
- `$options`: Options used by the router when generating the URL (e.g., `force_canonical`, `query`, etc.).
- `$reuseMatchedParams`: Whether or not to use route match parameters from the
current URL when generating the new URL. This will only affect cases where
the specified `$name` matches the currently matched route; the default is
`true`.
- `$name`: the name of the route to use for URL generation.
- `$params`: Any parameter substitutions to use with the named route.
- `$options`: Options used by the router when generating the URL (e.g., `force_canonical`, `query`, etc.).
- `$reuseMatchedParams`: Whether or not to use route match parameters from the
current URL when generating the new URL. This will only affect cases where
the specified `$name` matches the currently matched route; the default is
`true`.

> ### Requires MvcEvent
>
Expand Down
2 changes: 1 addition & 1 deletion docs/book/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ The associated class will then be instantiated and invoked.

Learn more about routing [in the laminas-router documentation](https://docs.laminas.dev/laminas-router/routing).

## Test it Out!
## Test it Out

Create a new vhost pointing its document root to the `public` directory of your application, and fire it up in a browser.
You should see the default homepage template of [laminas-mvc-skeleton](https://github.com/laminas/laminas-mvc-skeleton).
Expand Down
2 changes: 1 addition & 1 deletion docs/book/send-response-event.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Class | Priority | Method
------------------------------------------------------------ | -------: | ------------- | -----------
`Laminas\Mvc\SendResponseListener\PhpEnvironmentResponseSender` | -1000 | `__invoke` | This is used in HTTP contexts (this is the most often used).
`Laminas\Mvc\SendResponseListener\ConsoleResponseSender` | -2000 | `__invoke` | This is used in console contexts.
`Laminas\Mvc\SendResponseListener\SimpleStreamResponseSender` | -3000 | `__invoke` |
`Laminas\Mvc\SendResponseListener\SimpleStreamResponseSender` | -3000 | `__invoke` | This is used in HTTP context to pass through stream directly to output.

Because each listener has negative priority, adding your own logic to modify the
`Response` involves adding a new listener without priority (as priority defaults
Expand Down

0 comments on commit d569d62

Please sign in to comment.