public function DependencySerializationTestDummy::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php \Drupal\Tests\Core\DependencyInjection\DependencySerializationTestDummy::__construct()
Constructs a new TestClass object.
Parameters
\stdClass $service: A test service.
File
- core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ DependencySerializationTest.php, line 79 - Contains \Drupal\Tests\Core\DependencyInjection\DependencySerializationTest.
Class
- DependencySerializationTestDummy
- Defines a test class which has a single service as dependency.
Namespace
Drupal\Tests\Core\DependencyInjectionCode
public function __construct(\stdClass $service) {
$this->service = $service;
}