prestashop/module-lib-cache-directory-provider
最新稳定版本:v1.0.0
Composer 安装命令:
composer create-project prestashop/module-lib-cache-directory-provider
包简介
Cache directory provider to use on prestashop modules
README 文档
README
This repository provides the cache directory for PrestaShop modules.
Pre-requisites
You should install this library only on a PrestaShop environment and with PHP 5.6.0 minimum.
Installation
composer require prestashop/module-lib-cache-directory-provider
When this project is successfully added to your dependencies, you can add the new CacheDirectoryProvider to your module and use it.
Usage
To use this library, it's simple :
$cacheDirectoryProvider = new CacheDirectoryProvider(
_PS_VERSION_,
_PS_ROOT_DIR_,
_PS_MODE_DEV_
);
With the getPath() function, you will retrieve the cache path of your module :
$cacheDirectoryProvider->getPath();
统计信息
- 总下载量: 160.64k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: AFL-3.0
- 更新时间: 2020-09-08