Files
php-uuid/tests/bootstrap.php
T
Marijn Huizendveld dcbb873e62 Add UUID type definition for Doctrine DBAL.
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
2012-08-06 18:03:54 +02:00

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");