Rajout de doctrine/orm
[zf2.biz/application_blanche.git] / vendor / symfony / console / Symfony / Component / Console / Tests / bootstrap.php
diff --git a/vendor/symfony/console/Symfony/Component/Console/Tests/bootstrap.php b/vendor/symfony/console/Symfony/Component/Console/Tests/bootstrap.php
new file mode 100644 (file)
index 0000000..c486b72
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+spl_autoload_register(function ($class) {
+    if (0 === strpos(ltrim($class, '/'), 'Symfony\Component\Console')) {
+        if (file_exists($file = __DIR__.'/../'.substr(str_replace('\\', '/', $class), strlen('Symfony\Component\Console')).'.php')) {
+            require_once $file;
+        }
+    }
+});