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 * Keywords holder interface.
16 * @author Konstantin Kudryashov <ever.zet@gmail.com>
18 interface KeywordsInterface
21 * Sets keywords holder language.
23 * @param string $language Language name
25 public function setLanguage($language);
28 * Returns Feature keywords (splitted by "|").
32 public function getFeatureKeywords();
35 * Returns Background keywords (splitted by "|").
39 public function getBackgroundKeywords();
42 * Returns Scenario keywords (splitted by "|").
46 public function getScenarioKeywords();
49 * Returns Scenario Outline keywords (splitted by "|").
53 public function getOutlineKeywords();
56 * Returns Examples keywords (splitted by "|").
60 public function getExamplesKeywords();
63 * Returns Given keywords (splitted by "|").
67 public function getGivenKeywords();
70 * Returns When keywords (splitted by "|").
74 public function getWhenKeywords();
77 * Returns Then keywords (splitted by "|").
81 public function getThenKeywords();
84 * Returns And keywords (splitted by "|").
88 public function getAndKeywords();
91 * Returns But keywords (splitted by "|").
95 public function getButKeywords();
98 * Returns all step keywords (splitted by "|").
102 public function getStepKeywords();