Yii Middleware Dispatcher 2.1.0
2022-08-05
569次浏览
Version 2.1.0 of Yii Middleware Dispatcher package was tagged. There a few enhancements.
- Added array definition syntax support for middleware. For example:
$dispatcher = $dispatcher->withMiddlewares([
[ 'class' => MyMiddleware::class, '__construct()' => [ 'someVar' => 42, ], ],
]);
- Implemented friendly exception with solution for
InvalidMiddlewareDefinitionException
.
新闻归档
热门标签
- yii3
- 扩展
- 发布
- yii2
- debug
- view
- auth client
- html
- bootstrap
- release
- apidoc
- Yii 1.1
- redis
- Yii 2.0
- mongodb
- extensions
- mailer
- runner
- gii
- console
- http 客户端
- queue
- validation
- twig
- error handler
- hydrator
- http
- translator
- cache
- widget
- sphinx
- config
- symfonymailer
- assets
- db
- log
- router
- swagger
- swiftmailer
- elasticsearch
- 图书
- imagine
- fastroute
- rbac
- i18n
- IDE
- user
- definitions
- csrf
- widgets