65 public function store( array $array, array $diff ): void {
68 $file = Utilities::cacheFile( self::FILENAME );
69 $cache = Writer::open( $file );
71 foreach ( $array as $key => $value ) {
72 $value = $this->serialize( $value );
73 $cache->set( $key, $value );
78 $this->index = $array;