fourcoders/cache-clear-bundle

此包为您的 Symfony 2 项目提供正确的清缓存功能。仅适用于 Unix 系统。

安装: 59

依赖者: 1

建议者: 0

安全性: 0

星标: 3

关注者: 4

分支: 0

开放问题: 0

类型:symfony-bundle

dev-master 2014-03-26 15:03 UTC

This package is not auto-updated.

Last update: 2024-09-24 05:45:42 UTC


README

此包为您的 Symfony 2 项目提供正确的清缓存功能。仅适用于 Unix 系统。

在您的 composer.json 中添加

{
    "require": {
        "fourcoders/cache-clear-bundle": "dev-master"
    }
}

在您的 app/AppKernel.php 中添加

<?php

  // app/AppKernel.php
  public function registerBundles()
  {
    return array(
      // ...
      new Fourcoders\Bundle\CacheclearBundle\FourcodersCacheclearBundle(),
      // ...
      );
  }

使用该命令进行使用

unix:cache:clear