2 Test DebugClassLoader with previously loaded parents
6 namespace Symfony\Component\Debug\Tests\Fixtures;
8 use Symfony\Component\Debug\DebugClassLoader;
11 while (!file_exists($vendor.'/vendor')) {
12 $vendor = dirname($vendor);
14 require $vendor.'/vendor/autoload.php';
16 class_exists(FinalMethod::class);
18 set_error_handler(function ($type, $msg) { echo $msg, "\n"; });
20 DebugClassLoader::enable();
22 class_exists(ExtendedFinalMethod::class);
26 The "Symfony\Component\Debug\Tests\Fixtures\FinalMethod::finalMethod()" method is considered final since version 3.3. It may change without further notice as of its next major version. You should not extend it from "Symfony\Component\Debug\Tests\Fixtures\ExtendedFinalMethod".