Definition at line 11 of file Factory.php.
◆ __construct()
◆ create()
create |
( |
|
$fileName = null , |
|
|
|
$adapterName = null |
|
) |
| |
Create instance of \Magento\Framework\Image
- Parameters
-
string | null | $fileName | |
string | null | $adapterName | |
- Returns
- \Magento\Framework\Image
Definition at line 42 of file Factory.php.
44 $adapter = $this->adapterFactory->create($adapterName);
45 return $this->objectManager->create(
46 \
Magento\Framework\Image::class,
◆ $adapterFactory
◆ $objectManager
The documentation for this class was generated from the following file: