1<?php
2
3/** @generate-function-entries */
4
5class Transliterator
6{
7    final private function __construct() {}
8
9    /**
10     * @return Transliterator|null
11     * @alias transliterator_create
12     */
13    public static function create(string $id, int $direction = Transliterator::FORWARD) {}
14
15    /**
16     * @return Transliterator|null
17     * @alias transliterator_create_from_rules
18     */
19    public static function createFromRules(string $rules, int $direction = Transliterator::FORWARD) {}
20
21    /**
22     * @return Transliterator|null
23     * @alias transliterator_create_inverse
24     */
25    public function createInverse() {}
26
27    /**
28     * @return array|false
29     * @alias transliterator_list_ids
30     */
31    public static function listIDs() {}
32
33    /**
34     * @return string|false
35     * @alias transliterator_transliterate
36     */
37    public function transliterate(string $string, int $start = 0, int $end = -1) {}
38
39    /**
40     * @return int|false
41     * @alias transliterator_get_error_code
42     */
43    public function getErrorCode() {}
44
45    /**
46     * @return string|false
47     * @alias transliterator_get_error_message
48     */
49    public function getErrorMessage() {}
50}
51