thruster/动作

Thruster Actions 组件

1.1.0 2015-12-16 11:23 UTC

This package is auto-updated.

Last update: 2024-09-14 03:00:31 UTC


README

[最新版本] (https://github.com/ThrusterIO/actions/releases) [软件许可] (LICENSE) [构建状态] (https://travis-ci.org/ThrusterIO/actions) [代码覆盖率] (https://scrutinizer-ci.com/g/ThrusterIO/actions) [质量评分] (https://scrutinizer-ci.com/g/ThrusterIO/actions) [总下载量] (https://packagist.org.cn/packages/thruster/actions)

[邮箱] (mailto:team@thruster.io)

Thruster Actions 组件实现了许多不同的模式,以提供该组件的通用使用。

安装

通过 Composer

$ composer require thruster/actions

用法

$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);

测试

$ composer test

贡献

请参阅 CONTRIBUTINGCONDUCT 了解详情。

许可

请参阅 许可文件 了解更多信息。