Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @var MagentoFrameworkAppConfigScopeConfigInterface
- */
- protected $scopeConfig;
- public function __construct(
- ......
- MagentoFrameworkAppConfigScopeConfigInterface $scopeConfig)
- {
- $this->scopeConfig = $scopeConfig;
- }
- public function getLocalFolderName() {
- $storeScope = MagentoStoreModelScopeInterface::SCOPE_STORE;
- return $this->scopeConfig->getValue(self::XML_PATH_LOCAL_PATH, $storeScope);
- }
Add Comment
Please, Sign In to add comment