[英]How to destroy the APC cache in YII
如何在Yii中銷毀APC緩存。 當我使用這段代碼時:
Yii::app()->cache->destroy();
它給了我以下錯誤:
CApcCache and its behaviors do not have a method or closure named "destroy".
請幫忙。
您可以使用flush()從緩存中刪除所有內容。 喜歡:
Yii::app()->cache->flush();
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.