You are here

protected function DebugClassLoaderTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/debug/Tests/DebugClassLoaderTest.php \Symfony\Component\Debug\Tests\DebugClassLoaderTest::setUp()

File

vendor/symfony/debug/Tests/DebugClassLoaderTest.php, line 27

Class

DebugClassLoaderTest

Namespace

Symfony\Component\Debug\Tests

Code

protected function setUp() {
  $this->errorReporting = error_reporting(E_ALL | E_STRICT);
  $this->loader = new ClassLoader();
  spl_autoload_register(array(
    $this->loader,
    'loadClass',
  ), true, true);
  DebugClassLoader::enable();
}