private function SQLite3Cache::isExpired in Plug 7
Check if the item is expired.
Parameters
array $item:
Return value
boolean
1 call to SQLite3Cache::isExpired()
- SQLite3Cache::findById in lib/
doctrine/ cache/ lib/ Doctrine/ Common/ Cache/ SQLite3Cache.php - Find a single row by ID.
File
- lib/
doctrine/ cache/ lib/ Doctrine/ Common/ Cache/ SQLite3Cache.php, line 213
Class
- SQLite3Cache
- SQLite3 cache provider.
Namespace
Doctrine\Common\CacheCode
private function isExpired(array $item) {
return isset($item[static::EXPIRATION_FIELD]) && $item[self::EXPIRATION_FIELD] !== null && $item[self::EXPIRATION_FIELD] < time();
}