-
Notifications
You must be signed in to change notification settings - Fork 7.8k
/
Copy pathphp_xsl.stub.php
54 lines (41 loc) · 1.61 KB
/
php_xsl.stub.php
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
<?php
/** @generate-class-entries */
class XSLTProcessor
{
/**
* @param DOMDocument|SimpleXMLElement $stylesheet
* @tentative-return-type
*/
public function importStylesheet(object $stylesheet): bool {}
/**
* @param DOMDocument|SimpleXMLElement $document
* @tentative-return-type
*/
public function transformToDoc(object $document, ?string $returnClass = null): object|false {}
/**
* @param DOMDocument|SimpleXMLElement $document
* @tentative-return-type
*/
public function transformToUri(object $document, string $uri): int {}
/**
* @param DOMDocument|SimpleXMLElement $document
* @tentative-return-type
*/
public function transformToXml(object $document): string|null|false {}
/** @tentative-return-type */
public function setParameter(string $namespace, array|string $name, ?string $value = null): bool {}
/** @tentative-return-type */
public function getParameter(string $namespace, string $name): string|false {}
/** @tentative-return-type */
public function removeParameter(string $namespace, string $name): bool {}
/** @tentative-return-type */
public function hasExsltSupport(): bool {}
/** @tentative-return-type */
public function registerPHPFunctions(array|string|null $functions = null): void {}
/** @return bool */
public function setProfiling(?string $filename) {} // TODO make the return type void
/** @tentative-return-type */
public function setSecurityPrefs(int $preferences): int {}
/** @tentative-return-type */
public function getSecurityPrefs(): int {}
}