src/Callbacks/CallbackVisitor.php
/**
     * Visitor implementation that initializes the observers of the passed subject.
     *
     * @param \TechDivision\Import\Subjects\SubjectInterface $subject The subject to initialize the observers for
     *
     * @return void
     */
Visitor implementation that initializes the observers of the passed subject.
@param \TechDivision\Import\Subjects\SubjectInterface $subject The subject to initialize the observers for

@return void
Visitor implementation that initializes the observers of the passed subject . @param \ TechDivision \ Import \ Subjects \ SubjectInterface $subject The subject to initialize the observers for @return void
public function visit(SubjectInterface $subject)
    {
        $callbackMappings = $subject->getCallbackMappings();
        foreach ($callbackMappings as $type => $callbacks) {
            $this->prepareCallbacks($subject, $callbacks, $type);
        }
    }
public function visit ( SubjectInterface $ subject ) { $ callbackMappings = $ subject -> getCallbackMappings ( ) ; foreach ( $ callbackMappings as $ type => $ callbacks ) { $ this -> prepareCallbacks ( $ subject , $ callbacks , $ type ) ; } }
Visitor implementation that initializes the observers of the passed subject.
Visitor implementation that initializes the observers of the passed subject .
// load the callback mappings // prepare the callbacks