private function SQLite3Cache::isExpired in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/cache/lib/Doctrine/Common/Cache/SQLite3Cache.php \Doctrine\Common\Cache\SQLite3Cache::isExpired()
Check if the item is expired.
Parameters
array $item:
Return value
boolean
1 call to SQLite3Cache::isExpired()
- SQLite3Cache::findById in vendor/
doctrine/ cache/ lib/ Doctrine/ Common/ Cache/ SQLite3Cache.php - Find a single row by ID.
File
- vendor/
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();
}