Cache::clear
すべての値を削除します
説明
public static int Cache::clear()
ディレクトリにあるキャッシュファイルをすべて削除し、削除した数を返します。fegg-cli cache:clearはこの関数を呼びます。
例
use Fegg\Tool\Cache;
$count = Cache::clear();
The same from the command line
./fegg-cli cache:clear
# OK: 3 value(s) removed from /path/to/htdocs/_fegg/site/data/cache/data