-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautoload.php.dist
28 lines (24 loc) · 1.07 KB
/
autoload.php.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/*
* This file is part of the Behat.
* (c) 2010 Konstantin Kudryashov <ever.zet@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
if (!class_exists('Everzet\\Behat\\UniversalClassLoader')) {
require_once __DIR__.'/src/Everzet/Behat/UniversalClassLoader.php';
}
use Everzet\Behat\UniversalClassLoader;
$loader = new UniversalClassLoader();
$loader->registerNamespaces(array(
'Symfony\Component\Console' => __DIR__.'/vendor/symfony/src'
, 'Symfony\Component\DependencyInjection' => __DIR__.'/vendor/symfony/src'
, 'Symfony\Component\Translation' => __DIR__.'/vendor/symfony/src'
, 'Symfony\Component\EventDispatcher' => __DIR__.'/vendor/symfony/src'
, 'Symfony\Component\Finder' => __DIR__.'/vendor/symfony/src'
, 'Symfony\Component\Yaml' => __DIR__.'/vendor/symfony/src'
, 'Everzet\Gherkin' => __DIR__.'/src'
, 'Everzet\Behat' => __DIR__.'/src'
));
$loader->register();