thruster / actions-bundle
Thruster Actions Bundle
Installs: 47
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.0
- symfony/dependency-injection: >= 2.5
- symfony/http-kernel: >= 2.5
- thruster/actions: ~1.0
Requires (Dev)
- phpunit/phpunit: ~5.0
This package is auto-updated.
Last update: 2024-10-14 02:52:37 UTC
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.