src/Observers/GenericValidationObserver.php
/**
     * Will be invoked by the observer visitor when a factory has been defined to create the observer instance.
     *
     * @param \TechDivision\Import\Subjects\SubjectInterface $subject The subject instance
     *
     * @return \TechDivision\Import\Observers\ObserverInterface The observer instance
     */
Will be invoked by the observer visitor when a factory has been defined to create the observer instance.


Will be invoked by the observer visitor when a factory has been defined to create the observer instance .
public function createObserver(SubjectInterface $subject)
    {
        $this->reverseHeaderMappings = array_flip($subject->getHeaderMappings());
        return $this;
    }
public function createObserver ( SubjectInterface $ subject ) { $ this -> reverseHeaderMappings = array_flip ( $ subject -> getHeaderMappings ( ) ) ; return $ this ; }
Will be invoked by the observer visitor when a factory has been defined to create the observer instance.
Will be invoked by the observer visitor when a factory has been defined to create the observer instance .
// initialize the array for the reverse header mappings // return the intialized instance