Previous Page
_exception()

Solar_Cache_Adapter_File
_isExpired()

Next Page
add()

_isExpired()

protected bool _isExpired ( string $file )

Checks if a file has expired (is past its lifetime) or not.

Parameters

  • (string) $file: The file name.

Returns

  • (bool)

Description

Checks if a file has expired (is past its lifetime) or not.

If lifetime is empty (zero), then the file never expires.