Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gtrias/watchbundle
https://github.com/gtrias/watchbundle
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/gtrias/watchbundle
- Owner: gtrias
- Created: 2015-07-22T06:15:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-30T16:41:43.000Z (over 9 years ago)
- Last Synced: 2023-08-02T02:23:06.748Z (over 1 year ago)
- Language: PHP
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
WatchBundle
===========This bundle defines dynamic action to be executed when something in your entities change.
It works setting a field to watch and executing an action from a custom service.The service must receive the changed entity, execute any piece of code and mark
the given entity changed criteria in state not to be executed again.The way we will handle the changed state is implementing some method
on target entity, something like ``hasExpired`` or ``hasChanged``. At the moment it's
responsability of the target entity to know its changed state.Setup
-----In order to make this bundle work you has to set up a cronjob running
the check command.