original_string: public static function restore($name, $cacheConfig = 'default')
      {
          if (!class_exists(Cache::class)) {
              throw new RuntimeException('You must install cakephp/cache to use Configure::restore()');
          }
          $values = Cache::read($name, $cacheConfig);
          if ($values) {
              return static::write($values);
          }
  
          return false;
      }
code: public static function restore($name, $cacheConfig = 'default')
      {
          if (!class_exists(Cache::class)) {
              throw new RuntimeException('You must install cakephp/cache to use Configure::restore()');
          }
          $values = Cache::read($name, $cacheConfig);
          if ($values) {
              return static::write($values);
          }
  
          return false;
      }
code_tokens: public static function restore ( $ name , $ cacheConfig = 'default' ) { if ( ! class_exists ( Cache :: class ) ) { throw new RuntimeException ( 'You must install cakephp/cache to use Configure::restore()' ) ; } $ values = Cache :: read ( $ name , $ cacheConfig ) ; if ( $ values ) { return static :: write ( $ values ) ; } return false ; }
docstring: Restores configuration data stored in the Cache into configure. Restored
  values will overwrite existing ones.
  
  @param string $name Name of the stored config file to load.
  @param string $cacheConfig Name of the Cache configuration to read from.
  @return bool Success.
docstring_tokens: Restores configuration data stored in the Cache into configure . Restored values will overwrite existing ones .