summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_persist.stub.php
blob: c4155bceb1a456f28b240734252335d792b8e5d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php


final class COMPersistHelper
{
    public function __construct(?VARIANT $com_object) {}

    public function GetCurFileName(): string|false {}

    public function SaveToFile(?string $filename, bool $remember = true): bool {}

    public function LoadFromFile(string $path, int $flags = 0): bool {}

    public function GetMaxStreamSize(): int {}

    public function InitNew(): bool {}

    /** @param resource $stream */
    public function LoadFromStream($stream): bool {}

    /** @param resource $stream */
    public function SaveToStream($stream): bool {}
}