write() write(string $data, string $key = null) : boolean Write cache to adaptor Parameters string $data string $key key to store the data under Returns boolean