forked from nextcloud/richdocuments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stub.phpstub
103 lines (85 loc) · 2.16 KB
/
stub.phpstub
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
class OC_User {
public static function isIncognitoMode() {}
public static function setIncognitoMode($status) {}
}
namespace OC\Hooks {
interface Emitter {
/**
* @param string $scope
* @param string $method
* @param callable $callback
* @return void
* @deprecated 18.0.0 use \OCP\EventDispatcher\IEventDispatcher::addListener
*/
public function listen($scope, $method, callable $callback);
/**
* @param string $scope optional
* @param string $method optional
* @param callable $callback optional
* @return void
* @deprecated 18.0.0 use \OCP\EventDispatcher\IEventDispatcher::removeListener
*/
public function removeListener($scope = null, $method = null, callable $callback = null);
}
}
namespace OCA\Federation {
class TrustedServers {
public function getServers() {
}
public function isTrustedServer($domainWithPort) {
}
}
}
namespace OCA\Viewer\Event {
class LoadViewer extends \OCP\EventDispatcher\Event {
}
}
namespace Doctrine\DBAL\Platforms {
class SqlitePlatform {
}
}
namespace OCA\Files_Sharing {
use OCP\Files\Storage\IStorage;
use \OCP\Share\IShare;
abstract class SharedStorage implements IStorage {
public function getShare(): IShare {
}
}
}
namespace OCA\Files_Sharing\Event {
use \OCP\Share\IShare;
class ShareLinkAccessedEvent extends \OCP\EventDispatcher\Event {
public function __construct(IShare $share, string $step = '', int $errorCode = 200, string $errorMessage = '') {
}
public function getShare(): IShare {
}
public function getStep(): string {
}
public function getErrorCode(): int {
}
public function getErrorMessage(): string {
}
}
}
class OC_Helper {
public static function getFileTemplateManager() {
}
}
namespace Symfony\Component\HttpFoundation {
class IpUtils {
public static function checkIp(?string $requestIp, $ips) {}
}
}
#[\Attribute(Attribute::TARGET_PARAMETER)]
class SensitiveParameter {
}
class OC_Util {
public static function setupFS(?string $user);
public static function tearDownFS();
}