mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
11 lines
258 B
PHP
11 lines
258 B
PHP
<?php
|
|
|
|
use Doctrine\Common\Annotations\AnnotationRegistry;
|
|
use Composer\Autoload\ClassLoader;
|
|
|
|
/** @var ClassLoader $loader */
|
|
$loader = require __DIR__.'/../vendor/autoload.php';
|
|
|
|
AnnotationRegistry::registerLoader([$loader, 'loadClass']);
|
|
|
|
return $loader;
|