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\Behat\EventDispatcher\Event;
13 use Behat\Gherkin\Node\FeatureNode;
14 use Behat\Gherkin\Node\OutlineNode;
15 use Behat\Testwork\Environment\Environment;
16 use Behat\Testwork\EventDispatcher\Event\BeforeTested;
19 * Represents an event before outline is tested.
21 * @author Konstantin Kudryashov <ever.zet@gmail.com>
23 final class BeforeOutlineTested extends OutlineTested implements BeforeTested
37 * @param Environment $env
38 * @param FeatureNode $feature
39 * @param OutlineNode $outline
41 public function __construct(Environment $env, FeatureNode $feature, OutlineNode $outline)
43 parent::__construct($env);
45 $this->feature = $feature;
46 $this->outline = $outline;
54 public function getFeature()
56 return $this->feature;
60 * Returns outline node.
64 public function getOutline()
66 return $this->outline;