thruster/actions-bundle
Composer 安装命令:
composer require thruster/actions-bundle
包简介
Thruster Actions Bundle
README 文档
README
[]
(https://github.com/ThrusterIO/actions-bundle/releases)
[
]
(LICENSE)
[
]
(https://travis-ci.org/ThrusterIO/actions-bundle)
[
]
(https://scrutinizer-ci.com/g/ThrusterIO/actions-bundle)
[
]
(https://scrutinizer-ci.com/g/ThrusterIO/actions-bundle)
[
]
(https://packagist.org/packages/thruster/actions-bundle)
The Thruster Actions Bundle.
Install
Via Composer
$ composer require thruster/actions-bundle
Usage
This bundle wraps Actions Component and provides support actions as tagged services.
Example configuration:
<service id="some_action_executor" class="SomeActionExecutor"> <tag name="thruster_action_executor"/> </service>
Usage:
$this->container->get('thruster_actions.executor')->execute(new AllAction('hello'));
Using provided trait:
use ActionsAwareTrait; //... $this->executeActions(new AllAction('hello'));
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
License
Please see License File for more information.
统计信息
- 总下载量: 54
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-29