Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ZipOutputStreamInterface.php « Stream « PhpZip « src « zip « nelexa « vendor - github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 57c397e2088a1c62e8c475c71dc55c35b6b55909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php

namespace PhpZip\Stream;

use PhpZip\Model\ZipEntry;

/**
 * Write zip file
 *
 * @author Ne-Lexa alexey@nelexa.ru
 * @license MIT
 */
interface ZipOutputStreamInterface
{
    /** Central File Header signature. */
    const CENTRAL_FILE_HEADER_SIG = 0x02014B50;

    public function writeZip();

    /**
     * @param ZipEntry $entry
     */
    public function writeEntry(ZipEntry $entry);

    /**
     * @return resource
     */
    public function getStream();
}