bestit/commercetools-async-pool-bundle

提供symfony结构,以服务形式获取异步请求池,并自动刷新池的symfony事件监听器。

1.2.1 2017-08-24 13:36 UTC

This package is auto-updated.

Last update: 2024-08-29 04:47:09 UTC


README

提供symfony结构,以服务形式获取异步请求池,并自动刷新池的symfony事件监听器。

安装

步骤1:下载Bundle

打开命令行,进入您的项目目录,并执行以下命令以下载此Bundle的最新稳定版本

$ composer require bestit/commercetools-async-pool-bundle

此命令需要您已全局安装Composer,具体请参阅Composer文档中的安装章节

步骤2:启用Bundle

然后,通过将其添加到项目中app/AppKernel.php文件中注册的Bundle列表中,启用该Bundle。

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new \BestIt\CTAsyncPoolBundle\BestItCTAsyncPoolBundle(),
        );

        // ...
    }

    // ...
}