Constructs a new locale string object.
Parameters
object|array $values:
Object or array with initial values.
File
- drupal/core/modules/locale/lib/Drupal/locale/StringBase.php, line 65
- Definition of Drupal\locale\StringBase.
Class
- StringBase
- Defines the locale string base class.
Namespace
Drupal\locale
Code
public function __construct($values = array()) {
$this
->setValues((array) $values);
}