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 custom namespace classes get registered correctly.
Namespace
custom\some\name\spaceFile
tests/modules/registry_autoload_test/custom/some/name/space/RegistryAutoloadTestTest.phpView source
<?php
/**
* @file
* Tests that custom namespace classes get registered correctly.
*/
namespace custom\some\name\space;
class RegistryAutoloadTestTest {
/**
* Constructs a RegistryAutoloadTestTest object.
*/
public function __construct() {
print "Hello custom some namespace\n";
}
}
Classes
Name | Description |
---|---|
RegistryAutoloadTestTest |