function LazyService::getValue

Same name in this branch
  1. 11.x core/tests/Drupal/Tests/ProxyClass/Core/DependencyInjection/Fixture/LazyService.php \Drupal\Tests\ProxyClass\Core\DependencyInjection\Fixture\LazyService::getValue()
Same name and namespace in other branches
  1. main core/tests/Drupal/Tests/ProxyClass/Core/DependencyInjection/Fixture/LazyService.php \Drupal\Tests\ProxyClass\Core\DependencyInjection\Fixture\LazyService::getValue()
  2. main core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/LazyService.php \Drupal\Tests\Core\DependencyInjection\Fixture\LazyService::getValue()

Returns a value.

Return value

string A value.

File

core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/LazyService.php, line 21

Class

LazyService
A service used to test the handling of lazy service definitions.

Namespace

Drupal\Tests\Core\DependencyInjection\Fixture

Code

public function getValue() : string {
  return 'value';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.