Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Suite / Suite.php
1 <?php
2
3 /*
4  * This file is part of the Behat Testwork.
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\Testwork\Suite;
12
13 /**
14  * Represents a Testwork suite. Suite is a collection of tests.
15  *
16  * @author Konstantin Kudryashov <ever.zet@gmail.com>
17  */
18 interface Suite
19 {
20     /**
21      * Returns unique suite name.
22      *
23      * @return string
24      */
25     public function getName();
26
27     /**
28      * Returns suite settings.
29      *
30      * @return array
31      */
32     public function getSettings();
33
34     /**
35      * Checks if a setting with provided name exists.
36      *
37      * @param string $key
38      *
39      * @return Boolean
40      */
41     public function hasSetting($key);
42
43     /**
44      * Returns setting value by its key.
45      *
46      * @param string $key
47      *
48      * @return mixed
49      */
50     public function getSetting($key);
51 }