Skip to content

Commit 5c954af

Browse files
committed
Merge branch '5.4' into 6.2
* 5.4: [micro_kernel] Fix deleted method AnnotationRegistry::registerLoader
2 parents d6bba50 + 2415e00 commit 5c954af

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy