public cachedSettings ( ) : array | ||
return | array | - скешированные настройки |
public function cachedSettings()
{
try {
$cachedSettings = (require $this->_cacheFilePath);
if (is_array($cachedSettings) === false) {
$cachedSettings = [];
}
} catch (Exception $e) {
$cachedSettings = [];
}
return $cachedSettings;
}