ProcessorBagConfigBuilder.php
public function addProcessor($processorId, array $attributes, $action = null, $group = null, $priority = 0)
    {
        $this->assertNotFrozen();

        if (null === $action) {
            $action = self::NO_ACTION;
        }
        if (!empty($group)) {
            $attributes[self::GROUP_ATTRIBUTE] = $group;
        }

        $this->initialData[self::PROCESSORS][$action][$priority][] = [$processorId, $attributes];
    }
public function addProcessor($processorId, array $attributes, $action = null, $group = null, $priority = 0)
    {
        $this->assertNotFrozen();

        if (null === $action) {
            $action = self::NO_ACTION;
        }
        if (!empty($group)) {
            $attributes[self::GROUP_ATTRIBUTE] = $group;
        }

        $this->initialData[self::PROCESSORS][$action][$priority][] = [$processorId, $attributes];
    }
public function addProcessor ( $ processorId , array $ attributes , $ action = null , $ group = null , $ priority = 0 ) { $ this -> assertNotFrozen ( ) ; if ( null === $ action ) { $ action = self :: NO_ACTION ; } if ( ! empty ( $ group ) ) { $ attributes [ self :: GROUP_ATTRIBUTE ] = $ group ; } $ this -> initialData [ self :: PROCESSORS ] [ $ action ] [ $ priority ] [ ] = [ $ processorId , $ attributes ] ; }
Registers a processor.

@param string      $processorId
@param array       $attributes
@param string|null $action
@param string|null $group
@param int         $priority
Registers a processor .