You are here

public function MockService::setOtherConfigParameter in Service Container 7.2

Same name and namespace in other branches
  1. 7 tests/src/DependencyInjection/MockService.php \Drupal\Tests\service_container\DependencyInjection\MockService::setOtherConfigParameter()

Sets the someOtherParameter property.

Parameters

string $some_other_parameter: The setter injected parameter.

File

tests/src/DependencyInjection/MockService.php, line 102
Contains \Drupal\Tests\service_container\DependencyInjection\MockService

Class

MockService
Helper class to test Container::get() method.

Namespace

Drupal\Tests\service_container\DependencyInjection

Code

public function setOtherConfigParameter($some_other_parameter) {
  $this->someOtherParameter = $some_other_parameter;
}