src/Model/MetaData/InCache.php
public function write($key, $data)
    {
        $this->_cachedData[$key] = $data;
        Cache::set('model-metadata', $this->_cachedData, Cache::TTL_ONE_MONTH);
    }
public function write($key, $data)
    {
        $this->_cachedData[$key] = $data;
        Cache::set('model-metadata', $this->_cachedData, Cache::TTL_ONE_MONTH);
    }
public function write ( $ key , $ data ) { $ this -> _cachedData [ $ key ] = $ data ; Cache :: set ( 'model-metadata' , $ this -> _cachedData , Cache :: TTL_ONE_MONTH ) ; }
Writes the meta-data to files

@param string $key
@param array  $data
Writes the meta - data to files