public function createNumberConverter(SubjectConfigurationInterface $subject)
    {

        // create a new number converter instance for the subject with the passed configuration
        $numberConverter = $this->container->get($subject->getNumberConverter()->getId());
        $numberConverter->setSubjectConfiguration($subject);

        // return the number converter instance
        return $numberConverter;
    }
public function createNumberConverter(SubjectConfigurationInterface $subject)
    {

        // create a new number converter instance for the subject with the passed configuration
        $numberConverter = $this->container->get($subject->getNumberConverter()->getId());
        $numberConverter->setSubjectConfiguration($subject);

        // return the number converter instance
        return $numberConverter;
    }
public function createNumberConverter ( SubjectConfigurationInterface $ subject ) { // create a new number converter instance for the subject with the passed configuration $ numberConverter = $ this -> container -> get ( $ subject -> getNumberConverter ( ) -> getId ( ) ) ; $ numberConverter -> setSubjectConfiguration ( $ subject ) ; // return the number converter instance return $ numberConverter ; }
Creates and returns the number converter instance for the subject with the passed configuration.

@param \TechDivision\Import\Configuration\SubjectConfigurationInterface $subject The subject to create the number converter for

@return \TechDivision\Import\Subjects\I18n\NumberConverterInterface The number converter instance
Creates and returns the number converter instance for the subject with the passed configuration .