Solar_Cache_Adapter_File::_isExpired()

protected bool Solar_Cache_Adapter_File::_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.



Local