Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Hook / Call / BeforeSuite.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\Hook\Call;
12
13 use Behat\Testwork\Hook\Scope\SuiteScope;
14
15 /**
16  * Represents BeforeSuite hook.
17  *
18  * @author Konstantin Kudryashov <ever.zet@gmail.com>
19  */
20 final class BeforeSuite extends RuntimeSuiteHook
21 {
22     /**
23      * Initializes hook.
24      *
25      * @param null|string $filterString
26      * @param callable    $callable
27      * @param null|string $description
28      */
29     public function __construct($filterString, $callable, $description = null)
30     {
31         parent::__construct(SuiteScope::BEFORE, $filterString, $callable, $description);
32     }
33
34     /**
35      * Returns hook name.
36      *
37      * @return string
38      */
39     public function getName()
40     {
41         return 'BeforeSuite';
42     }
43 }