mirror of
https://github.com/php/php-src.git
synced 2026-04-27 10:16:41 +02:00
305b17e85f
Closes GH-5322
28 lines
695 B
PHP
28 lines
695 B
PHP
<?php
|
|
|
|
class ResourceBundle implements Traversable
|
|
{
|
|
public function __construct(?string $locale, ?string $bundlename, bool $fallback = true) {}
|
|
|
|
/** @return ResourceBundle|null */
|
|
public static function create(?string $locale, ?string $bundlename, bool $fallback = true) {}
|
|
|
|
/**
|
|
* @param string|int $index
|
|
* @return mixed
|
|
*/
|
|
public function get($index, bool $fallback = true) {}
|
|
|
|
/** @return int */
|
|
public function count() {}
|
|
|
|
/** @return array|false */
|
|
public static function getLocales(string $bundlename) {}
|
|
|
|
/** @return int */
|
|
public function getErrorCode() {}
|
|
|
|
/** @return string */
|
|
public function getErrorMessage() {}
|
|
}
|