jimchen/yii2-flysystem-contract
Composer 安装命令:
composer require jimchen/yii2-flysystem-contract
包简介
The flysystem extension contract for the Yii framework
README 文档
README
The flysystem extension contract for the Yii framework, the abstract class is from creocoder/yii2-flysystem, the repo's purpose is to separate the abstraction and implementation.
Installing
$ composer require jimchen/yii2-flysystem-contract -vvv
Usage
use jimchen\flysystem\Filesystem; class xxxFilesystem extends Filesystem { /** * @return \League\Flysystem\AdapterInterface */ protected function prepareAdapter() { // TODO: Implement prepareAdapter() method. } }
\jimchen\flysystem\Filesystem is a Yii2 Component, so your xxxFilesystem can register as a Yii2 Component.
Thanks
License
MIT
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-08-28