src/Files.php
/**
     * Deletes the specified cache record.
     *
     * @param  string $key The cache id to remove.
     * @return boolean Returns True on success or False on failure.
     */
Deletes the specified cache record.
@param  string $key The cache id to remove.
@return boolean Returns True on success or False on failure.
Deletes the specified cache record . @param string $key The cache id to remove . @return boolean Returns True on success or False on failure .
public function delete($key)
    {
        $key = $this->mapKey($key);
        $path = $this->getOption('directory') . DIRECTORY_SEPARATOR . base64_encode($key);
        if (!file_exists($path)) {
            return false;
        }
        return unlink($path);
    }
public function delete ( $ key ) { $ key = $ this -> mapKey ( $ key ) ; $ path = $ this -> getOption ( 'directory' ) . DIRECTORY_SEPARATOR . base64_encode ( $ key ) ; if ( ! file_exists ( $ path ) ) { return false ; } return unlink ( $ path ) ; }
Deletes the specified cache record.
Deletes the specified cache record .