PHP
Internationalization

Transliterator::__construct

Transliterator::__construct

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

Transliterator::__construct — Private constructor to deny instantiation

Description

Transliterator::__construct ( void )

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

← Transliterator

Transliterator::create →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/transliterator.construct.php