skafandri/synchronizeds

synchronizeds

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 7

pkg:composer/skafandri/synchronizeds

0.0.1 2014-12-14 08:05 UTC

This package is not auto-updated.

Last update: 2025-10-07 13:27:12 UTC


README

#SynchronizedS Synchronized Symfony bundle ##Instalation via composer

require: {"skafandri/synchronizeds": "dev-master"}

and load the bundle in your AppKernel.php

new Skafandri\SynchronizedBundle\SynchronizedBundle()

##Usage

The most common use case is to synchronize a service method.

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

synchronized:
    driver: "file"
    path: "%kernel.root_dir%/synchronized"
    services:
        my_processor:
            method: "process"