X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fbehat%2Fmink-extension%2Finit.php;fp=vendor%2Fbehat%2Fmink-extension%2Finit.php;h=db8e96b38d415bac8aeeae10498a193bd9538bf6;hp=0000000000000000000000000000000000000000;hb=1270d9129ce8f27c9b28b10518e32132c58e0aca;hpb=c27c0f0cdaa3f354b1fe54a56ae7e854be6e3f68 diff --git a/vendor/behat/mink-extension/init.php b/vendor/behat/mink-extension/init.php new file mode 100644 index 000000000..db8e96b38 --- /dev/null +++ b/vendor/behat/mink-extension/init.php @@ -0,0 +1,19 @@ + + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + +spl_autoload_register(function($class) { + if (false !== strpos($class, 'Behat\\MinkExtension')) { + require_once(__DIR__.'/src/'.str_replace('\\', '/', $class).'.php'); + return true; + } +}, true, false); + +return new Behat\MinkExtension\ServiceContainer\MinkExtension;