PHP code example of cornernote / yii2-cache-behavior
1. Go to this page and download the library: Download cornernote/yii2-cache-behavior library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cornernote / yii2-cache-behavior example snippets
public function behaviors() {
return [
\cornernote\cachebehavior\CacheBehavior::className(),
// or
[
'class' => \cornernote\cachebehavior\CacheBehavior::className(),
'cache' => 'cache',
'backupCache' => 'fileCache',
],
];
}