src/Observers/ObserverVisitor.php
public function visit(SubjectInterface $subject)
    {

        // load the observers from the configuration
        $availableObservers = $subject->getConfiguration()->getObservers();

        // prepare the observers
        foreach ($availableObservers as $observers) {
            $this->prepareObservers($subject, $observers);
        }
    }
public function visit(SubjectInterface $subject)
    {

        // load the observers from the configuration
        $availableObservers = $subject->getConfiguration()->getObservers();

        // prepare the observers
        foreach ($availableObservers as $observers) {
            $this->prepareObservers($subject, $observers);
        }
    }
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