flexibuild/component
Composer 安装命令:
composer require flexibuild/component
包简介
ComponentTrait for yii2, that will allow you to extend your Object instance with behaviors and events functionality.
README 文档
README
ComponentTrait for yii2, that will allow you to extend your Object instance with behaviors and events functionality.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist flexibuild/component "*"
or add
"flexibuild/component": "*"
to the require section of your composer.json file.
Usage
Add 'use \flexibuild\component\ComponentTrait' section in your class. After that you can use behaviors and events funcitonality in objects of this class.
统计信息
- 总下载量: 413
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-12