You are here

public function ExampleClass::test3 in Coder 8.3

Same name and namespace in other branches
  1. 8.3.x tests/DrupalPractice/Objects/drupal8/ExampleClass.php \Drupal\testmodule\ExampleClass::test3()

Global function is allowed since we cannot access the container.

File

tests/DrupalPractice/Objects/drupal8/ExampleClass.php, line 29

Class

ExampleClass
A class which is not a service.

Namespace

Drupal\testmodule

Code

public function test3() {
  return format_date(time());
}