|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / a / home / dev2.destoffenstraat.com / app / Firebear / ImportExport / Model / Source / |
Filename | /home/a/home/dev2.destoffenstraat.com/app/Firebear/ImportExport/Model/Source/Config.php |
Size | 1.12 kb |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 21-Aug-2025 12:26 |
Last modified | 07-Nov-2022 06:44 |
Last accessed | 23-Aug-2025 01:31 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
/**
* @copyright: Copyright © 2017 Firebear Studio. All rights reserved.
* @author : Firebear Studio <fbeardev@gmail.com>
*/
namespace Firebear\ImportExport\Model\Source;
/**
* Class Config
* @package Firebear\ImportExport\Model\Source
*/
class Config extends \Magento\Framework\Config\Data implements \Firebear\ImportExport\Model\Source\ConfigInterface
{
/**
* Config constructor.
*
* @param \Magento\Framework\Config\CacheInterface $cache
* @param \Magento\Framework\Config\ReaderInterface|null $reader
* @param string $cacheId
*/
public function __construct(
\Magento\Framework\Config\CacheInterface $cache,
\Firebear\ImportExport\Model\Source\Config\Reader $reader,
$cacheId = 'firebear_importexport_config'
) {
parent::__construct($reader, $cache, $cacheId);
}
/**
* Get system configuration of source type by name
*
* @param string $name
* @return array|mixed|null
*/
public function getType($name)
{
return $this->get('type/' . $name, []);
}
}
/**
* @copyright: Copyright © 2017 Firebear Studio. All rights reserved.
* @author : Firebear Studio <fbeardev@gmail.com>
*/
namespace Firebear\ImportExport\Model\Source;
/**
* Class Config
* @package Firebear\ImportExport\Model\Source
*/
class Config extends \Magento\Framework\Config\Data implements \Firebear\ImportExport\Model\Source\ConfigInterface
{
/**
* Config constructor.
*
* @param \Magento\Framework\Config\CacheInterface $cache
* @param \Magento\Framework\Config\ReaderInterface|null $reader
* @param string $cacheId
*/
public function __construct(
\Magento\Framework\Config\CacheInterface $cache,
\Firebear\ImportExport\Model\Source\Config\Reader $reader,
$cacheId = 'firebear_importexport_config'
) {
parent::__construct($reader, $cache, $cacheId);
}
/**
* Get system configuration of source type by name
*
* @param string $name
* @return array|mixed|null
*/
public function getType($name)
{
return $this->get('type/' . $name, []);
}
}