You are here

public static function ExternalLoader::registerStatic in Plug 7

1 call to ExternalLoader::registerStatic()
ClassLoaderTest::testClassExistsWhenLoaderIsProtected in lib/doctrine/common/tests/Doctrine/Tests/Common/ClassLoaderTest.php

File

lib/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');
}