skcms/trashbin-bundle
Composer 安装命令:
composer require skcms/trashbin-bundle
包简介
Symfony SKCMS Trashbin Bundle by SOLID-kiss
README 文档
README
This package is currently under development, more documentation and features will come soon.
The TrashBin bundle of SKCMS for Symfony2
Installation
Download dependecies via composer
use php composer.phar instead of composer on Windows
composer require SKCMS/trashbin-bundle:dev-master
Set entity trashBinable
use annotation:
use SKCMS\TrashBinBundle\Annotation\TrashBinable as TrashBinable;
/**
* @ORM\Table()
* @ORM\Entity
* @TrashBinable
*/
class MyEntity{
//...
That's all. The reverse method exist but not yet implemented.
An interface to see trashbinned entities and restore it has to be done quickly.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2015-09-05