8000 Merge branch '6.3' into 6.4 · symfony/symfony-docs@4de0ccd · GitHub
[go: up one dir, main page]

Skip to content

Commit 4de0ccd

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: [micro_kernel] Fix deleted method AnnotationRegistry::registerLoader
2 parents a80a846 + 772d439 commit 4de0ccd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

configuration/micro_kernel_trait.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -421,12 +421,9 @@ Finally, you need a front controller to boot and run the application. Create a
421421

422422
// public/index.php
423423
use App\Kernel;
424-
use Doctrine\Common\Annotations\AnnotationRegistry;
425424
use Symfony\Component\HttpFoundation\Request;
426425

427-
$loader = require __DIR__.'/../vendor/autoload.php';
428-
// auto-load annotations
429-
AnnotationRegistry::registerLoader([$loader, 'loadClass']);
426+
require __DIR__.'/../vendor/autoload.php';
430427

431428
$kernel = new Kernel('dev', true);
432429
$request = Request::createFromGlobals();

0 commit comments

Comments
 (0)
0