public function getById($id) { try { return parent::getById($id, Cache::EXPIRES_FOREVER); } catch (CachedObjectNotFoundException $e) { throw $e; } catch (ObjectNotFoundException $e) { $this->cacheNullById($id); throw $e; } }
public function getById($id) { return parent::getById($id, Cache::DO_NOT_CACHE); }