public function ExampleClass::test in Coder 8.3.x
Same name and namespace in other branches
- 8.3 tests/DrupalPractice/Objects/drupal8/ExampleClass.php \Drupal\testmodule\ExampleClass::test()
Using \Drupal here is allowed since this class cannot access the container.
File
- tests/
DrupalPractice/ Objects/ drupal8/ ExampleClass.php, line 15
Class
- ExampleClass
- A class which is not a service.
Namespace
Drupal\testmoduleCode
public function test() {
return \Drupal::configFactory();
}