Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
validate_image_info.php File Reference

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $filesystem = $objectManager->get(\Magento\Framework\Filesystem::class)
 
 $config = $objectManager->get(\Magento\Catalog\Model\Product\Media\Config::class)
 
 $tmpDirectory = $filesystem->getDirectoryWrite(\Magento\Framework\App\Filesystem\DirectoryList::MEDIA)
 
 $targetTmpFilePath = $tmpDirectory->getAbsolutePath($config->getBaseTmpMediaPath() . '/magento_small_image.jpg')
 

Variable Documentation

◆ $config

$config = $objectManager->get(\Magento\Catalog\Model\Product\Media\Config::class)

Definition at line 13 of file validate_image_info.php.

◆ $filesystem

$filesystem = $objectManager->get(\Magento\Framework\Filesystem::class)

Definition at line 10 of file validate_image_info.php.

◆ $objectManager

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 7 of file validate_image_info.php.

◆ $targetTmpFilePath

$targetTmpFilePath = $tmpDirectory->getAbsolutePath($config->getBaseTmpMediaPath() . '/magento_small_image.jpg')

Definition at line 19 of file validate_image_info.php.

◆ $tmpDirectory

$tmpDirectory = $filesystem->getDirectoryWrite(\Magento\Framework\App\Filesystem\DirectoryList::MEDIA)

Definition at line 16 of file validate_image_info.php.