2017 © Pedro Peláez
 

library propel-eventdispatcher-behavior

Integrates the Symfony2 EventDispatcher component in your Model classes.

image

willdurand/propel-eventdispatcher-behavior

Integrates the Symfony2 EventDispatcher component in your Model classes.

  • Wednesday, May 11, 2016
  • by couac
  • Repository
  • 1 Watchers
  • 18 Stars
  • 18,372 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 11 Forks
  • 0 Open issues
  • 7 Versions
  • 3 % Grown

The README.md

EventDispatcherBehavior

Build Status, (*1)

Integrate the Symfony2 EventDispatcher component in your Model classes., (*2)

Installation

Requires this behavior in your composer.json:, (*3)

{
    "require": {
        "willdurand/propel-eventdispatcher-behavior": "dev-master"
    }
}

Add the following line to your propel.ini or build.properties configuration file:, (*4)

propel.behavior.eventdispatcher.class = vendor.willdurand.propel-eventdispatcher-behavior.src.EventDispatcherBehavior

Note: vendor.willdurand.propel-eventdispatcher-behavior.src is the path of the behavior in dot-path notation., (*5)

Finally, adds this behavior to your schema.xml:, (*6)

<database name="foo">
    <table name="a-table">
        <behavior name="event_dispatcher" />
    </table>
</database>

ActiveRecord API

This behavior adds a single method getEventDispatcher(). This method creates an instance of EventDispatcher per class., (*7)

Running tests

Install dependencies:, (*8)

php composer.phar install --dev

Run the test suite:, (*9)

phpunit

License

This behavior is released under the MIT License. See the bundled LICENSE file for details., (*10)

The Versions

11/05 2016

dev-master

9999999-dev

Integrates the Symfony2 EventDispatcher component in your Model classes.

  Sources   Download

MIT

The Requires

 

behavior event event dispatcher propel

25/02 2014

1.3.0

1.3.0.0

Integrates the Symfony2 EventDispatcher component in your Model classes.

  Sources   Download

MIT

The Requires

 

behavior event event dispatcher propel

19/12 2013

1.2.0

1.2.0.0

Integrates the Symfony2 EventDispatcher component in your Model classes.

  Sources   Download

MIT

The Requires

 

behavior event event dispatcher propel

14/08 2013

1.1.0

1.1.0.0

Integrates the Symfony2 EventDispatcher component in your Model classes.

  Sources   Download

MIT

The Requires

 

behavior event event dispatcher propel

16/02 2013

1.0.2

1.0.2.0

Integrates the Symfony2 EventDispatcher component in your Model classes.

  Sources   Download

MIT

The Requires

 

behavior event event dispatcher propel

16/02 2013

1.0.1

1.0.1.0

Integrates the Symfony2 EventDispatcher component in your Model classes.

  Sources   Download

MIT

The Requires

 

behavior event event dispatcher propel

20/07 2012

1.0.0

1.0.0.0

Integrates the Symfony2 EventDispatcher component in your Model classes.

  Sources   Download

MIT

The Requires

 

behavior event event dispatcher propel