public function load()
{
if (($cache = $this->getApplication()->getCache()) !== null && ($value = $cache->get(self::CACHE_NAME)) !== false) {
return unserialize($value);
} else {
if (($content = @file_get_contents($this->getStateFilePath())) !== false) {
return unserialize($content);
} else {
return null;
}
}
}