|
| __construct (private FileStream $stream, private Disposition $disposition, private string $file_name, private int $valid_for_at_least_hours,) |
|
◆ __construct()
ILIAS\FileDelivery\Token\Request::__construct |
( |
private FileStream |
$stream, |
|
|
private Disposition |
$disposition, |
|
|
private string |
$file_name, |
|
|
private int |
$valid_for_at_least_hours |
|
) |
| |
◆ fromStreamAttached()
static ILIAS\FileDelivery\Token\Request::fromStreamAttached |
( |
FileStream |
$stream, |
|
|
string |
$file_name, |
|
|
int |
$valid_for_at_least_hours |
|
) |
| |
|
static |
Definition at line 39 of file Request.php.
43 : self {
44 return new self(
45 $stream,
46 Disposition::ATTACHMENT,
47 $file_name,
48 $valid_for_at_least_hours
49 );
50 }
◆ fromStreamInline()
static ILIAS\FileDelivery\Token\Request::fromStreamInline |
( |
FileStream |
$stream, |
|
|
string |
$file_name, |
|
|
int |
$valid_for_at_least_hours |
|
) |
| |
|
static |
Definition at line 52 of file Request.php.
56 : self {
57 return new self(
58 $stream,
59 Disposition::INLINE,
60 $file_name,
61 $valid_for_at_least_hours
62 );
63 }
The documentation for this class was generated from the following file: