public function __construct(EntityManager $em, FileHandler $fileHandler, MimeTypeGuesserFactoryInterface $mimeTypeGuesserFactory)
 {
     $this->em = $em;
     $this->fileHandler = $fileHandler;
     $this->mimeTypeGuesser = $mimeTypeGuesserFactory->get();
 }
 /**
  * Constructor
  * @param int $priority
  * @param MimeTypeGuesserFactoryInterface $mimeTypeGuesserFactory
  */
 public function __construct($priority, MimeTypeGuesserFactoryInterface $mimeTypeGuesserFactory)
 {
     parent::__construct($priority);
     $this->mimeTypeGuesser = $mimeTypeGuesserFactory->get();
 }
 /**
  * @param MimeTypeGuesserFactoryInterface $mimeTypeGuesserFactory
  */
 public function setMimeTypeGuesser(MimeTypeGuesserFactoryInterface $mimeTypeGuesserFactory)
 {
     $this->mimeTypeGuesser = $mimeTypeGuesserFactory->get();
 }