src/Adapters/LocalAdapter.php
public function setKey()
    {
        $path = $this->path . "/.cache_key";
        $key = bin2hex(openssl_random_pseudo_bytes(6));
        $umask = umask($this->umask);
        file_put_contents($path, $key);
        umask($umask);
        return $key;
    }
public function setKey()
    {
        $path = $this->path . "/.cache_key";
        $key = bin2hex(openssl_random_pseudo_bytes(6));
        $umask = umask($this->umask);
        file_put_contents($path, $key);
        umask($umask);
        return $key;
    }
public function setKey ( ) { $ path = $ this -> path . "/.cache_key" ; $ key = bin2hex ( openssl_random_pseudo_bytes ( 6 ) ) ; $ umask = umask ( $ this -> umask ) ; file_put_contents ( $ path , $ key ) ; umask ( $ umask ) ; return $ key ; }
Set the current cache key.
Set the current cache key .