mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
dcbb873e62
This allows the use of [custom mapping types][1] when using the Doctrine DBAL or Doctrine ORM. [1]: http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/types.html#custom-mapping-types
15 lines
542 B
PHP
15 lines
542 B
PHP
<?php
|
|
|
|
error_reporting(E_ALL | E_STRICT);
|
|
|
|
// Ensure that composer has installed all dependencies
|
|
if (!file_exists(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'composer.lock')) {
|
|
die("Dependencies must be installed using composer:\n\nphp composer.phar install --dev\n\n"
|
|
. "See http://getcomposer.org for help with installing composer\n");
|
|
}
|
|
|
|
// Include the Composer autoloader
|
|
$loader = include realpath(dirname(__FILE__) . '/../vendor/autoload.php');
|
|
|
|
$loader->add("Doctrine\Tests\DBAL", __DIR__."/../vendor/doctrine/dbal/tests");
|