thruster/actions-bundle

Thruster Actions Bundle

1.0.0 2015-12-05 17:01 UTC

This package is auto-updated.

Last update: 2024-12-14 03:10:45 UTC


README

[Latest Version] (https://github.com/ThrusterIO/actions-bundle/releases) [Software License] (LICENSE) [Build Status] (https://travis-ci.org/ThrusterIO/actions-bundle) [Code Coverage] (https://scrutinizer-ci.com/g/ThrusterIO/actions-bundle) [Quality Score] (https://scrutinizer-ci.com/g/ThrusterIO/actions-bundle) [Total Downloads] (https://packagist.org/packages/thruster/actions-bundle)

[Email] (mailto:team@thruster.io)

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.