src/Callbacks/NumberValidatorCallback.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->locale = $subject->getConfiguration()->getNumberConverter()->getLocale();
        return $this;
    }
public function createCallback ( SubjectInterface $ subject ) { $ this -> locale = $ subject -> getConfiguration ( ) -> getNumberConverter ( ) -> getLocale ( ) ; 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 locale from the subject's number converter configuration // return the initialized instance