src/Observers/ObserverVisitor.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)
    {
        $availableObservers = $subject->getConfiguration()->getObservers();
        foreach ($availableObservers as $observers) {
            $this->prepareObservers($subject, $observers);
        }
    }
public function visit ( SubjectInterface $ subject ) { $ availableObservers = $ subject -> getConfiguration ( ) -> getObservers ( ) ; foreach ( $ availableObservers as $ observers ) { $ this -> prepareObservers ( $ subject , $ observers ) ; } }
Visitor implementation that initializes the observers of the passed subject.
Visitor implementation that initializes the observers of the passed subject .
// load the observers from the configuration // prepare the observers