-
Notifications
You must be signed in to change notification settings - Fork 3
/
bootstrap.php
35 lines (31 loc) · 1.06 KB
/
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
34
35
<?php
/**
* bootstrap.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
*
* @category Library
* @package Lang
* @author Tim Wagner <tw@appserver.io>
* @copyright 2014 TechDivision GmbH <info@appserver.io>
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://github.com/appserver-io/description
* @link http://www.appserver.io
*/
use Doctrine\Common\Annotations\AnnotationRegistry;
// configure the autoloader
$loader = require 'vendor/autoload.php';
$loader->add('AppserverIo\\Description', 'src');
// load the annotation registries for the annotation reader
AnnotationRegistry::registerAutoloadNamespaces(
array(
'AppserverIo\Psr\Servlet\Annotations' => __DIR__ . '/vendor/appserver-io-psr/servlet/src',
'AppserverIo\Psr\EnterpriseBeans\Annotations' => __DIR__ . '/vendor/appserver-io-psr/epb/src'
)
);