cache\driver\mock::expired($key)

Checks if an item in the cache is expired

  • $key (string)
  • return (int)