src/Callbacks/DatetimeValidatorCallback.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->sourceDateFormat = $subject->getSourceDateFormat();
        $this->subject = $subject;
        return $this;
    }
public function createCallback ( SubjectInterface $ subject ) { $ this -> sourceDateFormat = $ subject -> getSourceDateFormat ( ) ; $ this -> subject = $ subject ; 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 .
// load the source date format from the subject's date converter configuration // Subject for date validator // return the initialized instance