Repository navigation
Expand file tree
/
Copy pathstub.phpstub
More file actions
169 lines (150 loc) · 5.5 KB
/
Copy pathstub.phpstub
File metadata and controls
169 lines (150 loc) · 5.5 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<?php
// reference for: use OCA\Analytics\Analytics\DatasourceEvent;
namespace OCA\Analytics\Datasource {
class DatasourceEvent extends \OCP\EventDispatcher\Event {
abstract public function registerDatasource(string $datasource): void {}
abstract public function getDataSources(): array {}
}
interface IDatasource {
public function getName(): string;
public function getId(): int;
public function getTemplate(): array;
public function readData($option): array;
}
}
namespace OCP\Share\ShareReview {
class RegisterShareReviewSourceEvent extends \OCP\EventDispatcher\Event {
public function registerSource(string $source): void {}
public function getSources(): array { return []; }
}
interface IShareReviewSource {
public function getName(): string;
public function getShares(): array;
public function deleteShare(string $shareId): bool;
}
final class ShareReviewPermission {
public function __construct(
public readonly string $id,
public readonly string $displayName,
public readonly ?string $hint = null,
public readonly int $priority = 50,
) {
}
}
final class ShareReviewEntry {
public function __construct(
public readonly string $id,
public readonly string $object,
public readonly string $initiator,
public readonly int $type,
public readonly string $recipient,
public readonly int $lastModifiedTimestamp,
public readonly array $permissions = [],
public readonly string $action = '',
public readonly bool $hasPassword = false,
public readonly ?int $expirationTimestamp = null,
public readonly ?string $parent = null,
) {
}
}
}
namespace OCP\Share\ShareReview\Events {
class ShareReviewAccessCheckEvent extends \OCP\EventDispatcher\Event {
public function __construct(string $sourceName, string $shareId) {}
public function getSourceName(): string { return ''; }
public function getShareId(): string { return ''; }
public function grantAccess(): void {}
public function denyAccess(string $reason): void {}
public function isHandled(): bool { return false; }
public function isGranted(): bool { return false; }
public function getReason(): ?string { return null; }
}
}
namespace OCA\Circles\Model {
class Circle {
abstract public function getSingleId(): string {}
}
}
namespace OCA\Circles\Events {
class CircleDestroyedEvent extends \OCP\EventDispatcher\Event {
public function getCircle(): \OCA\Circles\Model\Circle {}
}
}
namespace OC\Collaboration\Reference {
class LinkReferenceProvider implements IReferenceProvider {
abstract public function matchReference(string $referenceText): bool {}
abstract public function getCachePrefix(string $referenceId): string {}
abstract public function getCacheKey(string $referenceId): ?string {}
abstract public function resolveReference(string $referenceText): ?IReference {}
}
interface IReferenceProvider {
public function matchReference(string $referenceText): bool;
public function resolveReference(string $referenceText): ?IReference;
public function getCachePrefix(string $referenceId): string;
public function getCacheKey(string $referenceId): ?string;
}
interface ReferenceManager {
public function extractReferences(string $text): array;
public function resolveReference(string $referenceId): ?IReference;
public function getReferenceByCacheKey(string $cacheKey): ?IReference;
public function getReferenceFromCache(string $referenceId): ?IReference;
public function invalidateCache(string $cachePrefix, ?string $cacheKey = null): void;
public function getDiscoverableProviders(): array;
public function touchProvider(string $userId, string $providerId, ?int $timestamp = null): bool;
public function getUserProviderTimestamps(): array;
}
}
namespace Doctrine\DBAL\Types {
class Type {
public static function getType($name): Type;
}
}
namespace OC\Hooks {
interface Emitter {
public function listen($scope, $method, callable $callback);
public function removeListener($scope = null, $method = null, callable $callback = null);
}
}
namespace OC\User {
class NoUserException extends \Exception {
}
}
namespace Symfony\Component\Console\Input {
class InputInterface {
public function getOption(string $key) {}
public function setOption(string $key, $value) {}
public function getArgument(string $key) {}
}
class InputArgument {
const REQUIRED = 0;
const OPTIONAL = 1;
const IS_ARRAY = 1;
}
class InputOption {
const VALUE_NONE = 1;
const VALUE_REQUIRED = 1;
const VALUE_OPTIONAL = 1;
}
}
namespace Symfony\Component\Console\Question {
class ConfirmationQuestion {
public function __construct(string $text, bool $default) {}
}
}
namespace Symfony\Component\Console\Output {
class OutputInterface {
public const VERBOSITY_VERBOSE = 1;
public function writeln($text, int $flat = 0) {}
public function isVerbose(): bool {}
public function isVeryVerbose(): bool {}
}
}
namespace Symfony\Component\Console\Command {
abstract class Command {
public function __construct();
public function setName(string $name);
}
}
namespace OCA\Text\Event {
class LoadEditor extends \OCP\EventDispatcher\Event {}
}