You are here

public static function ExternalLoader::registerStatic in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/ClassLoaderTest/ExternalLoader.php \ClassLoaderTest\ExternalLoader::registerStatic()
1 call to ExternalLoader::registerStatic()
ClassLoaderTest::testClassExistsWhenLoaderIsProtected in vendor/doctrine/common/tests/Doctrine/Tests/Common/ClassLoaderTest.php

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/ClassLoaderTest/ExternalLoader.php, line 7

Class

ExternalLoader

Namespace

ClassLoaderTest

Code

public static function registerStatic() {
  spl_autoload_register(array(
    'ClassLoaderTest\\ExternalLoader',
    'load1',
  ));
  spl_autoload_register(array(
    'ClassLoaderTest\\ExternalLoader',
    'load2',
  ));
  spl_autoload_register('ClassLoaderTest\\ExternalLoader::load3');
}