source/Core/Utils.php
public function toPhpFileCache($sKey, $mContents)
    {
        //only simple arrays are supported
        if (is_array($mContents) && ($sCachePath = $this->getCacheFilePath($sKey, false, 'php'))) {
            // setting meta
            $this->setCacheMeta($sKey, ["serialize" => false, "cachepath" => $sCachePath]);

            // caching..
            $this->toFileCache($sKey, $mContents);
        }
    }
public function toPhpFileCache($sKey, $mContents)
    {
        //only simple arrays are supported
        if (is_array($mContents) && ($sCachePath = $this->getCacheFilePath($sKey, false, 'php'))) {
            // setting meta
            $this->setCacheMeta($sKey, ["serialize" => false, "cachepath" => $sCachePath]);

            // caching..
            $this->toFileCache($sKey, $mContents);
        }
    }
public function toPhpFileCache ( $ sKey , $ mContents ) { //only simple arrays are supported if ( is_array ( $ mContents ) && ( $ sCachePath = $ this -> getCacheFilePath ( $ sKey , false , 'php' ) ) ) { // setting meta $ this -> setCacheMeta ( $ sKey , [ "serialize" => false , "cachepath" => $ sCachePath ] ) ; // caching.. $ this -> toFileCache ( $ sKey , $ mContents ) ; } }
Generates php file, which could later be loaded as include instead of parsed data.
Currently this method supports simple arrays only.

@param string $sKey      Cache key
@param mixed  $mContents Cache contents. At this moment only simple array type is supported.
Generates php file which could later be loaded as include instead of parsed data . Currently this method supports simple arrays only .