35 \
Magento\Framework\File\Size $fileSize
37 $this->_fileSize = $fileSize;
50 $maxImageSize = $this->_fileSize->getMaxFileSizeInMb();
52 $message =
__(
'Make sure your file isn\'t more than %1M.', $maxImageSize);
54 $message =
__(
'We can\'t provide the upload settings right now.');
66 $paths = $this->scopeConfig->getValue(
67 self::XML_PATH_EXPORT_LOCAL_VALID_PATH,
68 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE
80 return (
int)$this->scopeConfig->getValue(
81 self::XML_PATH_BUNCH_SIZE,
82 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE
__construct(\Magento\Framework\App\Helper\Context $context, \Magento\Framework\File\Size $fileSize)
getMaxUploadSizeMessage()
const XML_PATH_EXPORT_LOCAL_VALID_PATH
const XML_PATH_BUNCH_SIZE