ManaPHP\Cache\Adapter\File::exists PHP Method

exists() public method

public exists ( string $key ) : boolean
$key string
return boolean
    public function exists($key)
    {
        $file = $this->_getFileName($key);
        return @filemtime($file) >= time();
    }