function LazyService::getValue
Same name in this branch
- main 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
- 11.x core/tests/Drupal/Tests/ProxyClass/Core/DependencyInjection/Fixture/LazyService.php \Drupal\Tests\ProxyClass\Core\DependencyInjection\Fixture\LazyService::getValue()
- 11.x 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\FixtureCode
public function getValue() : string {
return 'value';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.