Solar_Cache_Adapter_Var::_isExpired()

protected bool Solar_Cache_Adapter_Var::_isExpired ( string $key )

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

Parameters

  • (string) $key: The entry key with prefix already added.

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