Security update for permissions_by_term
[yaffs-website] / vendor / behat / gherkin / src / Behat / Gherkin / Keywords / CachedArrayKeywords.php
1 <?php
2
3 /*
4  * This file is part of the Behat Gherkin.
5  * (c) Konstantin Kudryashov <ever.zet@gmail.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 namespace Behat\Gherkin\Keywords;
12
13 /**
14  * File initializable keywords holder.
15  *
16  * $keywords = new Behat\Gherkin\Keywords\CachedArrayKeywords($file);
17  *
18  * @author Konstantin Kudryashov <ever.zet@gmail.com>
19  */
20 class CachedArrayKeywords extends ArrayKeywords
21 {
22     /**
23      * Initializes holder with file.
24      *
25      * @param string $file Cached array path
26      */
27     public function __construct($file)
28     {
29         parent::__construct(include($file));
30     }
31 }