class LazyService
Same name in this branch
- main core/tests/Drupal/Tests/ProxyClass/Core/DependencyInjection/Fixture/LazyService.php \Drupal\Tests\ProxyClass\Core\DependencyInjection\Fixture\LazyService
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
- 11.x core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/LazyService.php \Drupal\Tests\Core\DependencyInjection\Fixture\LazyService
A service used to test the handling of lazy service definitions.
Hierarchy
- class \Drupal\Tests\Core\DependencyInjection\Fixture\LazyService
Expanded class hierarchy of LazyService
See also
\Drupal\Tests\ProxyClass\Core\DependencyInjection\Fixture\LazyService
\Drupal\Tests\Core\DependencyInjection\Compiler\ProxyServicesPassTest
1 file declares its use of LazyService
- ProxyServicesPassTest.php in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Compiler/ ProxyServicesPassTest.php
File
-
core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Fixture/ LazyService.php, line 13
Namespace
Drupal\Tests\Core\DependencyInjection\FixtureView source
class LazyService {
/**
* Returns a value.
*
* @return string
* A value.
*/
public function getValue() : string {
return 'value';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.