devpack/gedmo-tree-recalc
Composer 安装命令:
composer require devpack/gedmo-tree-recalc
包简介
Recalc Gedmo Tree (Doctrine Behavioral Extensions)
README 文档
README
This command was created for Gedmo Doctrine Behavioral Tree Extension.
If your tree has been damaged, the leaves and roots have incorrect values - this command is all you need.
You can easily recalc all the properties of a tree by one command.
How it use?
- Install package
composer require devpack/gedmo-tree-recalcor copy only command 😉 - Add bundle to your
bundles.phpfile
Example:
<?php return [ // ... DevPack\GedmoTreeRecalc\GedmoTreeRecalcBundle::class => ['all' => true], ];
- Run your symfony console
Example:
php bin/console gedmo:tree:recalc [<YourEntity>]
How test package?
Run this command: ./vendor/bin/phpunit tests
If I helped you, leave me a star ⭐
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-02-17