LazyService.php
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\Tests\Core\DependencyInjection\FixtureFile
-
core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Fixture/ LazyService.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Tests\Core\DependencyInjection\Fixture;
/**
* A service used to test the handling of lazy service definitions.
*
* @see \Drupal\Tests\ProxyClass\Core\DependencyInjection\Fixture\LazyService
* @see \Drupal\Tests\Core\DependencyInjection\Compiler\ProxyServicesPassTest
*/
class LazyService {
/**
* Returns a value.
*
* @return string
* A value.
*/
public function getValue() : string {
return 'value';
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| LazyService | A service used to test the handling of lazy service definitions. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.