function ContainerTest::testResolveServicesAndParametersForRawArgument
Tests that raw type services arguments are resolved correctly.
@legacy-covers ::get @legacy-covers ::createService @legacy-covers ::resolveServicesAndParameters
File
-
core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ ContainerTest.php, line 681
Class
Namespace
Drupal\Tests\Component\DependencyInjectionCode
public function testResolveServicesAndParametersForRawArgument() : void {
$this->assertEquals([
'ccc',
], $this->container
->get('service_with_raw_argument')
->getArguments());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.