Security update for Core, with self-updated composer
[yaffs-website] / vendor / behat / mink-extension / init.php
1 <?php
2
3 /*
4  * This file is part of the Behat
5  *
6  * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7  *
8  * This source file is subject to the MIT license that is bundled
9  * with this source code in the file LICENSE.
10  */
11
12 spl_autoload_register(function($class) {
13     if (false !== strpos($class, 'Behat\\MinkExtension')) {
14         require_once(__DIR__.'/src/'.str_replace('\\', '/', $class).'.php');
15         return true;
16     }
17 }, true, false);
18
19 return new Behat\MinkExtension\ServiceContainer\MinkExtension;