You are here

public function RegistryAutoloadTestTestTrait::foo in Registry Autoload 7

Helper function to test trait loading.

1 call to RegistryAutoloadTestTestTrait::foo()
RegistryAutoloadTraitTest::__construct in tests/modules/registry_autoload_test/src/Cache/RegistryAutoloadTestTraitTest.php
Constructs a RegistryAutoloadTraitTest object.

File

tests/modules/registry_autoload_test/src/Cache/RegistryAutoloadTestTestTrait.php, line 18
\Contains \Drupal\registry_autoload_test\Cache\RegistryAutoloadTestTestTrait;

Class

RegistryAutoloadTestTestTrait
A test trait class.

Namespace

Drupal\registry_autoload_test\Cache

Code

public function foo() {
  print "Hello Trait.\n";
}