You are here

class SomeClass in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/module_autoload_test/src/SomeClass.php \Drupal\module_autoload_test\SomeClass

Hierarchy

  • class \Drupal\module_autoload_test\SomeClass

Expanded class hierarchy of SomeClass

3 files declare their use of SomeClass
ClassLoaderTest.php in core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php
ModuleTestController.php in core/modules/system/tests/modules/module_test/src/Controller/ModuleTestController.php
module_autoload_test.module in core/modules/system/tests/modules/module_autoload_test/module_autoload_test.module
Test module.

File

core/modules/system/tests/modules/module_autoload_test/src/SomeClass.php, line 5

Namespace

Drupal\module_autoload_test
View source
class SomeClass {
  const TEST = '\\Drupal\\module_autoload_test\\SomeClass::TEST';
  public function testMethod() {
    return 'Drupal\\module_autoload_test\\SomeClass::testMethod() was invoked.';
  }

}

Members