flexic/scheduler-bundle
最新稳定版本:2.0.4
Composer 安装命令:
composer require flexic/scheduler-bundle
包简介
Provides an scheduler bundle for symfony framework.
关键字:
README 文档
README
Provides the integration of the PHP Scheduler library into Symfony Framework.
Installation
Run
composer require flexic/scheduler-bundle
to install flexic/scheduler-bundle.
If you are using Symfony Flex, the bundle will be automatically enabled.
To enable the bundle manually, add it to the list of registered bundles in the config/bundles.php file of your project:
return [ // ... Flexic\SchedulerBundle\SchedulerBundle::class => ['all' => true], // ... ];
Tag Schedule Events
To make a schedule event available to the scheduler, you need to tag it with scheduler.schedule_event.
services: _instanceof: Flexic\Scheduler\Interfaces\ScheduleEventInterface: tags: [ 'scheduler.schedule_event' ]
or
services: Your\Schedule\Event\Class: tags: [ 'scheduler.schedule_event' ]
License
This package is licensed using the GNU License.
Please have a look at LICENSE.md.
统计信息
- 总下载量: 132
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2022-10-09