You are here

RegistryAutoloadTestTest.php in Registry Autoload 7

Tests that classes in arbitrary paths get registered correctly.

File

tests/modules/registry_autoload_test/sites/all/libraries/test-library/lib/SomeVendor/SomeComponent/RegistryAutoloadTestTest.php
View source
<?php

/**
 * @file
 * Tests that classes in arbitrary paths get registered correctly.
 */
namespace SomeVendor\SomeComponent;

class RegistryAutoloadTestTest {

  /**
   * Constructs a RegistryAutoloadTestTest object.
   */
  public function __construct() {
    print "Hello test-library: SomeVendor\\SomeComponent\n";
  }

}

Classes