public function createDateConverter(SubjectConfigurationInterface $subject)
    {

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

        // return the date converter instance
        return $dateConverter;
    }
public function createDateConverter(SubjectConfigurationInterface $subject)
    {

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

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

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

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