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\Testwork\Environment\Environment;
15 use Behat\Testwork\EventDispatcher\Event\BeforeTested;
18 * Represents an event before feature tested.
20 * @author Konstantin Kudryashov <ever.zet@gmail.com>
22 final class BeforeFeatureTested extends FeatureTested implements BeforeTested
32 * @param Environment $env
33 * @param FeatureNode $feature
35 public function __construct(Environment $env, FeatureNode $feature)
37 parent::__construct($env);
39 $this->feature = $feature;
47 public function getFeature()
49 return $this->feature;