for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Cache component solely for cached API calls. By extending cachePath, we can
* flush this cache using flush() without affecting the main application cache.
*
* @author Sam Stenvall <[email protected]>
* @copyright Copyright © Sam Stenvall 2013-
* @license https://www.gnu.org/licenses/gpl.html The GNU General Public License v3.0
*/
class ApiCallCache extends CFileCache
{
public function init()
$this->cachePath = Yii::app()->getRuntimePath().DIRECTORY_SEPARATOR.'apiCallCache';
parent::init();
}