dev-master
9999999-dev https://github.com/skafandri/SynchronizedSsynchronizeds
GPL-v3
The Requires
- php >=5.3.3
by ilyes kooli
0.0.1
0.0.1.0 https://github.com/skafandri/SynchronizedSsynchronizeds
GPL-v3
The Requires
- php >=5.3.3
by ilyes kooli
Wallogit.com
2017 © Pedro Peláez
synchronizeds
Synchronized Symfony bundle, (*1)
via composer, (*2)
require: {"skafandri/synchronizeds": "dev-master"}
and load the bundle in your AppKernel.php, (*3)
new Skafandri\SynchronizedBundle\SynchronizedBundle()
The most common use case is to synchronize a service method., (*4)
class Processor
{
public function process()
{
//do stuff
}
}
Suppose you need to make the process method from the Processor service atomic. If the service id is my_processor, (*5)
synchronized:
driver: "file"
path: "%kernel.root_dir%/synchronized"
services:
my_processor:
method: "process"
synchronizeds
GPL-v3
synchronizeds
GPL-v3