4 * This file is part of the Behat Gherkin.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Gherkin\Keywords;
14 * File initializable keywords holder.
16 * $keywords = new Behat\Gherkin\Keywords\CachedArrayKeywords($file);
18 * @author Konstantin Kudryashov <ever.zet@gmail.com>
20 class CachedArrayKeywords extends ArrayKeywords
23 * Initializes holder with file.
25 * @param string $file Cached array path
27 public function __construct($file)
29 parent::__construct(include($file));