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\Tester\Result;
13 use Behat\Behat\Definition\Definition;
16 * Represents a step result that contains step definition.
18 * @author Konstantin Kudryashov <ever.zet@gmail.com>
20 interface DefinedStepResult extends StepResult
23 * Returns found step definition.
25 * @return null|Definition
27 public function getStepDefinition();