matthecat/silex-routing-provider
最新稳定版本:2.1.1
Composer 安装命令:
composer require matthecat/silex-routing-provider
包简介
Routing service provider for Silex
README 文档
README
RoutingServiceProvider
The RoutingServiceProvider leverages the Symfony routing component for Silex.
Parameters
- router.ressource: Resource which will be loaded to get a route collection.
- router.options: Router's options.
Services
- router.loader_resolver: An instance of
Symfony\Component\Config\Loader\LoaderResolver. You can extend it to add new loaders. - router: An instance of
Symfony\Component\Routing\Router. - request_matcher: Alias of router.
- url_generator: Alias of router.
Registering
use MatTheCat\Routing\Silex\Provider\RoutingServiceProvider; $app->register(new RoutingServiceProvider());
统计信息
- 总下载量: 70
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-16