2017 © Pedro Peláez
 

symfony-bundle data-modifier-bundle

Thruster DataModifier Bundle

image

thruster/data-modifier-bundle

Thruster DataModifier Bundle

  • Saturday, December 5, 2015
  • by gcds
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

DataModifier Bundle

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

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

The Thruster DataModifier Bundle., (*3)

Install

Via Composer, (*4)

``` bash $ composer require thruster/data-modifier-bundle, (*5)


## Usage This bundle wraps DataModifier Component and provides support for modifiers as tagged services. Example configuration: ```xml <service id="some_modifier" class="SomeModifier"> <tag name="thruster_data_modifier" group="first_group"/> <tag name="thruster_data_modifier" group="second_group" priority="2"/> </service> <service id="another_modifier" class="AnotherModifier"> <tag name="thruster_data_modifier" group="first_group"/> <tag name="thruster_data_modifier" group="second_group" priority="1"/> </service>

Usage:, (*6)

$this->container->get('thruster_data_modifiers')->getGroup('first_group')->modify($input);

Using provided trait:, (*7)

use DataModifiersAwareTrait;
//...
$this->getDataModifierGroup('second_group')->modify($input);

Testing

bash $ composer test, (*8)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*9)

License

Please see License File for more information., (*10)

The Versions

05/12 2015

dev-master

9999999-dev https://thruster.io

Thruster DataModifier Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony thruster datamodifier data-modifier

05/12 2015

1.0.0

1.0.0.0 https://thruster.io

Thruster DataModifier Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

bundle symfony thruster datamodifier data-modifier