RegistryAutoloadTestTraitTest.php in Registry Autoload 7
Tests that traits work properly.
Namespace
Drupal\registry_autoload_test\CacheFile
tests/modules/registry_autoload_test/src/Cache/RegistryAutoloadTestTraitTest.phpView source
<?php
/**
* @file
* Tests that traits work properly.
*/
namespace Drupal\registry_autoload_test\Cache;
class RegistryAutoloadTraitTest {
use RegistryAutoloadTestTestTrait;
/**
* Constructs a RegistryAutoloadTraitTest object.
*/
public function __construct() {
print "Hello Class using trait.\n";
$this
->foo();
}
}
Classes
Name | Description |
---|---|
RegistryAutoloadTraitTest |