src/Subjects/FileResolver/FileResolverFactory.php
public function createFileResolver(SubjectConfigurationInterface $subject)
    {

        // create a new file resolver instance for the subject with the passed configuration
        $fileResolver = $this->container->get($subject->getFileResolver()->getId());
        $fileResolver->setSubjectConfiguration($subject);

        // return the file resolver instance
        return $fileResolver;
    }
public function createFileResolver(SubjectConfigurationInterface $subject)
    {

        // create a new file resolver instance for the subject with the passed configuration
        $fileResolver = $this->container->get($subject->getFileResolver()->getId());
        $fileResolver->setSubjectConfiguration($subject);

        // return the file resolver instance
        return $fileResolver;
    }
Creates and returns the file resolver instance for the subject with the passed configuration.

@param \TechDivision\Import\Configuration\SubjectConfigurationInterface $subject The subject to create the file resolver for

@return \TechDivision\Import\Subjects\FileResolver\FileResolverInterface The file resolver instance