You are here

public function MockService::getSomeParameter in Service Container 7

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

Gets the someParameter property.

Return value

string The injected parameter.

File

tests/src/DependencyInjection/MockService.php, line 92
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 getSomeParameter() {
  return $this->someParameter;
}