public function registerProcessorIdForCommand($commandClassName, $serviceId)
    {
        //Maybe the processor is registered in parent
        if ($this->hasProcessor($commandClassName)) {
            throw new MultipleProcessorsException($commandClassName);
        }
        $this->serviceIds[$commandClassName] = $serviceId;
    }
public function registerProcessorIdForCommand($commandClassName, $serviceId)
    {
        //Maybe the processor is registered in parent
        if ($this->hasProcessor($commandClassName)) {
            throw new MultipleProcessorsException($commandClassName);
        }
        $this->serviceIds[$commandClassName] = $serviceId;
    }
public function registerProcessorIdForCommand ( $ commandClassName , $ serviceId ) { //Maybe the processor is registered in parent if ( $ this -> hasProcessor ( $ commandClassName ) ) { throw new MultipleProcessorsException ( $ commandClassName ) ; } $ this -> serviceIds [ $ commandClassName ] = $ serviceId ; }
Register processor service for command class.

@param string $commandClassName
@param string $serviceId
@throws MultipleProcessorsException Thrown, when several processors are registered for given class.
Register processor service for command class .