Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Ordering / Orderer / Orderer.php
1 <?php
2
3 /*
4  * This file is part of the Behat.
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\Ordering\Orderer;
12
13 use Behat\Testwork\Specification\SpecificationIterator;
14
15 /**
16  * Algorithm for prioritising Specification execution
17  *
18  * @author Ciaran McNulty <mail@ciaranmcnulty.com>
19  */
20 interface Orderer
21 {
22     /**
23      * @param SpecificationIterator[] $scenarioIterators
24      * @return SpecificationIterator[]
25      */
26     public function order(array $scenarioIterators);
27
28     /**
29      * @return string
30      */
31     public function getName();
32 }