source/Core/Utils.php
protected function _processCache($sKey, $mContents)
    {
        // looking for cache meta
        $aCacheMeta = $this->getCacheMeta($sKey);
        $blSerialize = isset($aCacheMeta["serialize"]) ? $aCacheMeta["serialize"] : true;

        if ($blSerialize) {
            $mContents = serialize($mContents);
        } else {
            $mContents = "<?php\n//automatically generated file\n//" . date("Y-m-d H:i:s") . "\n\n\$_aCacheContents = " . var_export($mContents, true) . "\n?>";
        }

        return $mContents;
    }
protected function _processCache($sKey, $mContents)
    {
        // looking for cache meta
        $aCacheMeta = $this->getCacheMeta($sKey);
        $blSerialize = isset($aCacheMeta["serialize"]) ? $aCacheMeta["serialize"] : true;

        if ($blSerialize) {
            $mContents = serialize($mContents);
        } else {
            $mContents = "<?php\n//automatically generated file\n//" . date("Y-m-d H:i:s") . "\n\n\$_aCacheContents = " . var_export($mContents, true) . "\n?>";
        }

        return $mContents;
    }
protected function _processCache ( $ sKey , $ mContents ) { // looking for cache meta $ aCacheMeta = $ this -> getCacheMeta ( $ sKey ) ; $ blSerialize = isset ( $ aCacheMeta [ "serialize" ] ) ? $ aCacheMeta [ "serialize" ] : true ; if ( $ blSerialize ) { $ mContents = serialize ( $ mContents ) ; } else { $ mContents = "<?php\n//automatically generated file\n//" . date ( "Y-m-d H:i:s" ) . "\n\n\$_aCacheContents = " . var_export ( $ mContents , true ) . "\n?>" ; } return $ mContents ; }
Serializes or writes php array for class file cache

@param string $sKey      cache key
@param mixed  $mContents cache data

@return mixed
Serializes or writes php array for class file cache