RegistryAutoloadTestTest.php in Registry Autoload 7
Same filename in this branch
- 7 tests/modules/registry_autoload_test/src/Cache/RegistryAutoloadTestTest.php
- 7 tests/modules/registry_autoload_test/lib/Drupal/Core/Cache/RegistryAutoloadTestTest.php
- 7 tests/modules/registry_autoload_test/custom/some/name/space/RegistryAutoloadTestTest.php
- 7 tests/modules/registry_autoload_test/sites/all/libraries/test-library/lib/SomeVendor/SomeComponent/RegistryAutoloadTestTest.php
- 7 tests/modules/registry_autoload_test/sites/all/libraries/test-library/src/SomeOtherVendor/SomeComponent/RegistryAutoloadTestTest.php
Tests that PSR-4 namespaced classes and interfaces get registered correctly.
Namespace
Drupal\registry_autoload_test\CacheFile
tests/modules/registry_autoload_test/src/Cache/RegistryAutoloadTestTest.phpView source
<?php
/**
* @file
* Tests that PSR-4 namespaced classes and interfaces get registered correctly.
*/
namespace Drupal\registry_autoload_test\Cache;
class RegistryAutoloadTestTest implements RegistryAutoloadTestTestInterface {
/**
* Constructs a RegistryAutoloadTestTest object.
*/
public function __construct() {
print "Hello Render_Cache\n";
$this
->x();
}
/**
* {@inheritdoc}
*/
public function x() {
print "Implements x\n";
}
}
Classes
Name | Description |
---|---|
RegistryAutoloadTestTest |