class RegistryAutoloadTraitTest in Registry Autoload 7
Hierarchy
- class \Drupal\registry_autoload_test\Cache\RegistryAutoloadTraitTest uses RegistryAutoloadTestTestTrait
Expanded class hierarchy of RegistryAutoloadTraitTest
File
- tests/
modules/ registry_autoload_test/ src/ Cache/ RegistryAutoloadTestTraitTest.php, line 9 - Tests that traits work properly.
Namespace
Drupal\registry_autoload_test\CacheView source
class RegistryAutoloadTraitTest {
use RegistryAutoloadTestTestTrait;
/**
* Constructs a RegistryAutoloadTraitTest object.
*/
public function __construct() {
print "Hello Class using trait.\n";
$this
->foo();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RegistryAutoloadTestTestTrait:: |
public | function | Helper function to test trait loading. | |
RegistryAutoloadTraitTest:: |
public | function | Constructs a RegistryAutoloadTraitTest object. |