summaryrefslogtreecommitdiffstats
path: root/composer-autoload.php
blob: 11b8043d0edeafc9539b46e5de9d9322ee5e9dee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
$vendorDir = '/usr/share/php';
require_once $vendorDir . '/Symfony/Component/ClassLoader/UniversalClassLoader.php';
use Symfony\Component\ClassLoader\UniversalClassLoader;

$loader = new UniversalClassLoader();
$loader->registerNamespaces(array(
    'Seld\\JsonLint'                      => $vendorDir,
    'Seld\\PharUtils'                     => $vendorDir,
    'Seld\\CliPrompt'                     => $vendorDir,
    'JsonSchema'                          => $vendorDir,
    'Symfony\\Component\\Console'         => $vendorDir,
    'Symfony\\Component\\Finder'          => $vendorDir,
    'Symfony\\Component\\Process'         => $vendorDir,
    'Symfony\\Component\\ClassLoader'     => $vendorDir,
    'Composer'                            => dirname(__DIR__)
));
$loader->register();