DB\Jig::drop PHP Method

drop() public method

Clean storage
public drop ( ) : null
return null
    function drop()
    {
        if (!$this->dir) {
            $this->data = [];
        } elseif ($glob = @glob($this->dir . '/*', GLOB_NOSORT)) {
            foreach ($glob as $file) {
                @unlink($file);
            }
        }
    }