mirror of
https://github.com/doctrine/KeyValueStore.git
synced 2026-03-24 16:52:17 +01:00
19 lines
746 B
PHP
19 lines
746 B
PHP
<?php
|
|
|
|
if (!@include __DIR__ . '/../vendor/.composer/autoload.php') {
|
|
die(<<<'EOT'
|
|
You must set up the project dependencies, run the following commands:
|
|
wget http://getcomposer.org/composer.phar
|
|
php composer.phar install
|
|
EOT
|
|
);
|
|
}
|
|
|
|
\Doctrine\Common\Annotations\AnnotationRegistry::registerFile(__DIR__ . '/../lib/Doctrine/KeyValueStore/Mapping/Annotations/Entity.php');
|
|
\Doctrine\Common\Annotations\AnnotationRegistry::registerFile(__DIR__ . '/../lib/Doctrine/KeyValueStore/Mapping/Annotations/Id.php');
|
|
\Doctrine\Common\Annotations\AnnotationRegistry::registerFile(__DIR__ . '/../lib/Doctrine/KeyValueStore/Mapping/Annotations/Transient.php');
|
|
|
|
$loader = new \Doctrine\Common\ClassLoader("Doctrine\Tests", __DIR__);
|
|
$loader->register();
|
|
|