You are here

public function StringDatabaseStorageDecorator::__call in Language Hierarchy 2.x

Performs decorator magic.

Parameters

string $method: Name of method in the internal service.

array $args: Arguments to pass to method.

Return value

mixed Returns the results of the method in question.

File

src/StringDatabaseStorageDecorator.php, line 61

Class

StringDatabaseStorageDecorator
Decorates the locale.storage service.

Namespace

Drupal\language_hierarchy

Code

public function __call($method, array $args) {
  return call_user_func_array([
    $this->stringStorage,
    $method,
  ], $args);
}