load() публичный Метод

Loads previously saved setting values and returns them (if some were saved)
public load ( ) : array
Результат array An array of key value pairs where $settingName => $settingValue. Eg array('settingName1' > 'settingValue1')
Пример #1
0
 public function load()
 {
     $cacheId = $this->getStorageId();
     $cache = self::buildCache();
     if ($cache->contains($cacheId)) {
         return $cache->fetch($cacheId);
     }
     $settings = $this->backend->load();
     $cache->save($cacheId, $settings);
     return $settings;
 }