mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
23 lines
588 B
PHP
23 lines
588 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Sylius package.
|
|
*
|
|
* (c) Paweł Jędrzejewski
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
use Doctrine\Common\Annotations\AnnotationRegistry;
|
|
|
|
$loader = require __DIR__.'/../vendor/autoload.php';
|
|
|
|
// Intl stubs.
|
|
if (!function_exists('intl_get_error_code')) {
|
|
require_once __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php';
|
|
}
|
|
|
|
AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
|
|
|
|
return $loader;
|