Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
fileentry.php
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Main\Engine\Response\Zip
;
6
7
class
FileEntry
implements
EntryInterface
8
{
9
private
string
$path;
10
private
string
$serverRelativeUrl;
11
private
int
$size;
12
private
string
$crc32;
13
14
public
function
__construct
(
string
$path,
string
$serverRelativeUrl,
int
$size,
string
$crc32 =
'-'
)
15
{
16
$this->path = $path;
17
$this->serverRelativeUrl = $serverRelativeUrl;
18
$this->size = $size;
19
$this->crc32 = $crc32;
20
}
21
22
public
function
getPath
(): string
23
{
24
return
$this->path;
25
}
26
27
public
function
getSize
(): int
28
{
29
return
$this->size;
30
}
31
32
public
function
getServerRelativeUrl
(): string
33
{
34
return
$this->serverRelativeUrl;
35
}
36
37
public
function
getCrc32
(): string
38
{
39
return
$this->crc32;
40
}
41
}
Bitrix\Main\Engine\Response\Zip\FileEntry
Definition
fileentry.php:8
Bitrix\Main\Engine\Response\Zip\FileEntry\getPath
getPath()
Definition
fileentry.php:22
Bitrix\Main\Engine\Response\Zip\FileEntry\getServerRelativeUrl
getServerRelativeUrl()
Definition
fileentry.php:32
Bitrix\Main\Engine\Response\Zip\FileEntry\getCrc32
getCrc32()
Definition
fileentry.php:37
Bitrix\Main\Engine\Response\Zip\FileEntry\getSize
getSize()
Definition
fileentry.php:27
Bitrix\Main\Engine\Response\Zip\FileEntry\__construct
__construct(string $path, string $serverRelativeUrl, int $size, string $crc32='-')
Definition
fileentry.php:14
Bitrix\Main\Engine\Response\Zip\EntryInterface
Definition
entryinterface.php:6
Bitrix\Main\Engine\Response\Zip
Definition
archive.php:2
modules
main
lib
engine
response
zip
fileentry.php
Создано системой
1.10.0