SourceString::setString

public SourceString::setString($string)

Sets the string contained in this object.

Parameters

string $string: String to set as value.

Return value

$this

Overrides StringInterface::setString

File

core/modules/locale/src/SourceString.php, line 37

Class

SourceString
Defines the locale source string object.

Namespace

Drupal\locale

Code

public function setString($string) {
  $this->source = $string;
  return $this;
}
doc_Drupal
2016-10-29 09:43:14
Comments
Leave a Comment

Please login to continue.