4 * This file is part of the Behat.
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\Testwork\EventDispatcher\Event;
13 use Behat\Testwork\Specification\SpecificationIterator;
16 * Represents an event in which exercise is prepared to be executed.
18 * @author Konstantin Kudryashov <ever.zet@gmail.com>
20 final class BeforeExerciseCompleted extends ExerciseCompleted implements BeforeTested
23 * @var SpecificationIterator[]
25 private $specificationIterators;
30 * @param SpecificationIterator[] $specificationIterators
32 public function __construct(array $specificationIterators)
34 $this->specificationIterators = $specificationIterators;
38 * Returns specification iterators.
40 * @return SpecificationIterator[]
42 public function getSpecificationIterators()
44 return $this->specificationIterators;