Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
UploaderFactory.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Framework\File;
7 
9 {
15  private $_objectManager;
16 
21  {
22  $this->_objectManager = $objectManager;
23  }
24 
31  public function create(array $data = [])
32  {
33  return $this->_objectManager->create(\Magento\Framework\File\Uploader::class, $data);
34  }
35 }
$objectManager
Definition: bootstrap.php:17
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)