thruster/actions

Thruster Actions Component

1.1.0 2015-12-16 11:23 UTC

This package is auto-updated.

Last update: 2024-12-14 03:30:56 UTC


README

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

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

The Thruster Actions Component implements many different patterns, to provide universal use of this component.

Install

Via Composer

$ composer require thruster/actions

Usage

$actions = new AllAction(
    new DoctrinePersistAction(new DataModifyAction('demo_group', $object)),
    new DataIndexAction('demo_index', 'demo_type', new DataMapAction('demo_mapper', $object)),
    new DataCacheAction($object)
);

$executor->execute($actions);

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

License

Please see License File for more information.