public function ClassLoaderTest::testMultipleAutoloadRequestsWillProduceSameResult in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/ClassLoaderTest.php \Doctrine\Tests\Common\ClassLoaderTest::testMultipleAutoloadRequestsWillProduceSameResult()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ ClassLoaderTest.php, line 123
Class
Namespace
Doctrine\Tests\CommonCode
public function testMultipleAutoloadRequestsWillProduceSameResult() {
$classLoader = new ClassLoader();
$classLoader
->setIncludePath(__DIR__);
$classLoader
->setFileExtension('.class.php');
$classLoader
->setNamespaceSeparator('_');
$this
->assertTrue($classLoader
->loadClass('ClassLoaderTest_ClassA'));
$this
->assertTrue($classLoader
->loadClass('ClassLoaderTest_ClassA'));
}