gtt/ad-poller-bundle

将 gtt/ad-poller 组件集成到 Symfony2 生态系统中的包

1.1.0 2020-07-27 09:46 UTC

This package is not auto-updated.

Last update: 2024-09-11 09:10:25 UTC


README

gtt/ad-poller 集成到 Symfony2+ 生态系统

安装

包应通过 composer 安装

composer require gtt/ad-poller-bundle

之后,您需要在应用程序内核中注册此包

public function registerBundles()
{
    $bundles = array(
        // ...
        new Gtt\Bundle\AdPollerBundle\AdPollerBundle(),
    );
}

数据库设置

组件需要数据库来持久化轮询任务状态。可以使用 doctrine 控制台工具生成模式

app/console doctrine:schema:create --dump-sql