public function addProcessor(ProcessorInterface $processor)
    {
        $this->processors[] = $processor;
        $this->logDebug('Added processor: ' . get_class($processor));
    }
public function addProcessor(ProcessorInterface $processor)
    {
        $this->processors[] = $processor;
        $this->logDebug('Added processor: ' . get_class($processor));
    }
public function addProcessor ( ProcessorInterface $ processor ) { $ this -> processors [ ] = $ processor ; $ this -> logDebug ( 'Added processor: ' . get_class ( $ processor ) ) ; }
Adds a processor for processing a entity before and after persisting.

@param ProcessorInterface $processor
Adds a processor for processing a entity before and after persisting .