Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
File
UploaderFactory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\File
;
7
8
class
UploaderFactory
9
{
15
private
$_objectManager;
16
20
public
function
__construct
(\
Magento
\Framework\
ObjectManagerInterface
$objectManager
)
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
$objectManager
Definition:
bootstrap.php:17
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Framework\Filesystem\Driver\File
Definition:
File.php:20
Magento
Magento\Framework\File
Definition:
Csv.php:7
Magento\Framework\File\UploaderFactory\__construct
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
Definition:
UploaderFactory.php:20
Magento\Framework\File\UploaderFactory\create
create(array $data=[])
Definition:
UploaderFactory.php:31
Magento\Framework\File\UploaderFactory
Definition:
UploaderFactory.php:8