Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Ordering / Orderer / NoopOrderer.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  * Null implementation of Orderer that does no ordering
17  *
18  * @author Ciaran McNulty <mail@ciaranmcnulty.com>
19  */
20 final class NoopOrderer implements Orderer
21 {
22
23     /**
24      * @param SpecificationIterator[] $scenarioIterators
25      * @return SpecificationIterator[]
26      */
27     public function order(array $scenarioIterators)
28     {
29         return $scenarioIterators;
30     }
31
32     /**
33      * @return string
34      */
35     public function getName()
36     {
37         return 'null';
38     }
39 }