src/Callbacks/AbstractValidatorCallback.php
/**
     * Will be invoked by the callback visitor when a factory has been defined to create the callback instance.
     *
     * @param \TechDivision\Import\Subjects\SubjectInterface $subject The subject instance
     *
     * @return \TechDivision\Import\Callbacks\CallbackInterface The callback instance
     */
Will be invoked by the callback visitor when a factory has been defined to create the callback instance.


Will be invoked by the callback visitor when a factory has been defined to create the callback instance .
public function createCallback(SubjectInterface $subject)
    {
        $this->setSubject($subject);
        $this->setValidations($this->getLoader()->load($subject->getConfiguration()));
        return $this;
    }
public function createCallback ( SubjectInterface $ subject ) { $ this -> setSubject ( $ subject ) ; $ this -> setValidations ( $ this -> getLoader ( ) -> load ( $ subject -> getConfiguration ( ) ) ) ; return $ this ; }
Will be invoked by the callback visitor when a factory has been defined to create the callback instance.
Will be invoked by the callback visitor when a factory has been defined to create the callback instance .
// set the subject // set the validations // return the initialized instance