Transliterator::__construct
(PHP 5 >= 5.4.0, PHP 7, PECL intl >= 2.0.0)
Transliterator::__construct — Private constructor to deny instantiation
Description
private Transliterator::__construct ( )
This method should not be called. Its only purpose is to deny instantiation with the new operator.
Use the factory methods Transliterator::create() or Transliterator::createFromRules() instead.
Parameters
This function has no parameters.
Return Values
This method should not be executed. If it is (e.g. through reflection), then its return value is unspecified.
See Also
- Transliterator::create() - Create a transliterator
- Transliterator::createFromRules() - Create transliterator from rules
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/transliterator.construct.php