HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/grainesdfo/www/wp-content/plugins/backwpup/vendor/inpsyde/backwpup-archiver/src/Closable.php
<?php

/*
 * This file is part of the BackWPup Archiver package.
 *
 * (c) Inpsyde <hello@inpsyde.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Inpsyde\BackWPup\Archiver;

/**
 * Interface Closable
 *
 * This interface identify archives that need to be opened and closed to perform operation on them.
 *
 * @author Guido Scialfa <dev@guidoscialfa.com>
 */
interface Closable
{
    /**
     * Create the Archive file
     *
     * @return void
     * @throws ArchiveException If the archive cannot be opened
     */
    public function create();

    /**
     * Open the Archive for Read
     *
     * @return void
     * @throws ArchiveException If the archive cannot be opened
     */
    public function open();

    /**
     * Close the Archive File
     *
     * @return void
     */
    public function close();
}