54 $serialize = $fileType ===
'core';
55 if ( !isset( $this->fileCache[$fileName][$fileType] ) ) {
56 $data = parent::readPHPFile( $fileName, $fileType );
59 $encData = serialize(
$data );
64 $this->fileCache[$fileName][$fileType] = $encData;
67 } elseif ( $serialize ) {
68 return unserialize( $this->fileCache[$fileName][$fileType] );
70 return $this->fileCache[$fileName][$fileType];