Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
autoload.php
Go to the documentation of this file.
1 <?php
6 use Doctrine\Common\Annotations\AnnotationRegistry;
7 
8 $loader = require '../../../../../../vendor/autoload.php';
9 
10 AnnotationRegistry::registerAutoloadNamespace(
11  'JMS\Serializer\Annotation',
12  "../../../../../vendor/jms/serializer/src"
13 );
14 
15 AnnotationRegistry::registerLoader([$loader, 'loadClass']);
16 
17 return $loader;
$loader
Definition: autoload.php:8