public function StringBase::__construct

Constructs a new locale string object.

Parameters

object|array $values: Object or array with initial values.

1 call to StringBase::__construct()
1 method overrides StringBase::__construct()

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);
}