mirror of
https://github.com/jbcr/SyliusCmsPlugin.git
synced 2026-03-25 01:12:18 +01:00
14 lines
332 B
PHP
14 lines
332 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
use Composer\Autoload\ClassLoader;
|
|
use Doctrine\Common\Annotations\AnnotationRegistry;
|
|
|
|
/** @var ClassLoader $loader */
|
|
$loader = require __DIR__ . '/../../../vendor/autoload.php';
|
|
require_once __DIR__ . '/AppKernel.php';
|
|
|
|
AnnotationRegistry::registerLoader([$loader, 'loadClass']);
|
|
|
|
return $loader;
|