php-src/ext/intl/resourcebundle/resourcebundle.stub.php
Máté Kocsis 186612e4d7
Improve parameter names in ext/intl
Closes GH-6309
2020-10-12 18:06:45 +02:00

47 lines
1 KiB
PHP

<?php
/** @generate-function-entries */
class ResourceBundle implements IteratorAggregate, Countable
{
public function __construct(?string $locale, ?string $bundle, bool $fallback = true) {}
/**
* @return ResourceBundle|null
* @alias resourcebundle_create
*/
public static function create(?string $locale, ?string $bundle, bool $fallback = true) {}
/**
* @param string|int $index
* @return mixed
* @alias resourcebundle_get
*/
public function get($index, bool $fallback = true) {}
/**
* @return int
* @alias resourcebundle_count
*/
public function count() {}
/**
* @return array|false
* @alias resourcebundle_locales
*/
public static function getLocales(string $bundle) {}
/**
* @return int
* @alias resourcebundle_get_error_code
*/
public function getErrorCode() {}
/**
* @return string
* @alias resourcebundle_get_error_message
*/
public function getErrorMessage() {}
public function getIterator(): Iterator {}
}