DB\Jig::drop PHP 메소드

drop() 공개 메소드

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