fourcoders / cache-clear-bundle
此包为您的 Symfony 2 项目提供正确的清缓存功能。仅适用于 Unix 系统。
dev-master
2014-03-26 15:03 UTC
Requires
- php: >=5.3.2
- symfony/framework-bundle: >=2.0.0
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