X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fconsole%2FSymfony%2FComponent%2FConsole%2FTests%2Fbootstrap.php;fp=vendor%2Fsymfony%2Fconsole%2FSymfony%2FComponent%2FConsole%2FTests%2Fbootstrap.php;h=c486b72642ac91c61e3c9cd04b35075433cfe09f;hb=8b04b2d11798dee4f3e1358e4f43e97a6df851f6;hp=0000000000000000000000000000000000000000;hpb=73568cf05a785a45f94ca3f2351d9e07bf917958;p=zf2.biz%2Fgalerie.git 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 index 0000000..c486b72 --- /dev/null +++ b/vendor/symfony/console/Symfony/Component/Console/Tests/bootstrap.php @@ -0,0 +1,18 @@ + + * + * 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; + } + } +});