-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbootstrap.php
33 lines (29 loc) · 1005 Bytes
/
bootstrap.php
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
28
29
30
31
32
33
<?php
/**
* boostrap.php
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
*
* PHP version 5
*
* @author Tim Wagner <[email protected]>
* @copyright 2015 TechDivision GmbH <[email protected]>
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link http://github.com/appserver-io/routlt
* @link http://www.appserver.io
*/
use Doctrine\Common\Annotations\AnnotationRegistry;
// configure the autoloader
$loader = require 'vendor/autoload.php';
$loader->add('AppserverIo\\Routlt', 'src');
// load the annotation registries for the annotation reader
AnnotationRegistry::registerAutoloadNamespaces(
array(
'AppserverIo\Routlt\Annotations' => __DIR__ . '/src',
'AppserverIo\Psr\EnterpriseBeans\Annotations' => __DIR__ . '/vendor/appserver-io-psr/epb/src'
)
);