1<?php 2 3/** @generate-function-entries */ 4 5class XSLTProcessor 6{ 7 /** 8 * @param DOMDocument|SimpleXMLElement $stylesheet 9 * @return bool 10 */ 11 public function importStylesheet(object $stylesheet) {} 12 13 /** 14 * @param DOMDocument|SimpleXMLElement $document 15 * @return DOMDocument|false 16 */ 17 public function transformToDoc(object $document, ?string $returnClass = null) {} 18 19 /** 20 * @param DOMDocument|SimpleXMLElement $document 21 * @return int 22 */ 23 public function transformToUri(object $document, string $uri) {} 24 25 /** 26 * @param DOMDocument|SimpleXMLElement $document 27 * @return string|false|null 28 */ 29 public function transformToXml(object $document) {} 30 31 /** @return bool */ 32 public function setParameter(string $namespace, array|string $name, ?string $value = null) {} 33 34 /** @return string|false */ 35 public function getParameter(string $namespace, string $name) {} 36 37 /** @return bool */ 38 public function removeParameter(string $namespace, string $name) {} 39 40 /** @return bool */ 41 public function hasExsltSupport() {} 42 43 /** @return void */ 44 public function registerPHPFunctions(array|string|null $functions = null) {} 45 46 /** @return bool */ 47 public function setProfiling(?string $filename) {} 48 49 /** @return int */ 50 public function setSecurityPrefs(int $preferences) {} 51 52 /** @return int */ 53 public function getSecurityPrefs() {} 54} 55