private function getDirectoryAndFilenameFromKey($cacheKey) {

        if (!is_array($cacheKey)) {
            $cacheKey = array($cacheKey);
        }

        $filename = array_pop($cacheKey);
        $dir = $this->cacheBaseDir . "/" . join("/", $cacheKey);


        // Return dir and filename
        return array($dir, $filename);

    }
private function getDirectoryAndFilenameFromKey($cacheKey) {

        if (!is_array($cacheKey)) {
            $cacheKey = array($cacheKey);
        }

        $filename = array_pop($cacheKey);
        $dir = $this->cacheBaseDir . "/" . join("/", $cacheKey);


        // Return dir and filename
        return array($dir, $filename);

    }
private function getDirectoryAndFilenameFromKey ( $ cacheKey ) { if ( ! is_array ( $ cacheKey ) ) { $ cacheKey = array ( $ cacheKey ) ; } $ filename = array_pop ( $ cacheKey ) ; $ dir = $ this -> cacheBaseDir . "/" . join ( "/" , $ cacheKey ) ; // Return dir and filename return array ( $ dir , $ filename ) ; }
Get the filename and directory from a key
Get the filename and directory from a key