W3cubDocs

/PHP

Transliterator::__construct

(PHP 5 >= 5.4.0, PHP 7, PECL intl >= 2.0.0)

Transliterator::__constructPrivate 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

© 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