You are here

public function StringStorageInterface::save in Localization update 7.2

Save string object to storage.

Parameters

\StringInterface $string: The string object.

Return value

\StringStorageInterface The called object.

Throws

\StringStorageException In case of failures, an exception is thrown.

1 method overrides StringStorageInterface::save()
StringDatabaseStorage::save in includes/locale/StringDatabaseStorage.php
Implements StringStorageInterface::save().

File

includes/locale/StringStorageInterface.php, line 96
Contains \StringStorageInterface.

Class

StringStorageInterface
Defines the locale string storage interface.

Code

public function save(\StringInterface $string);