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\Snippet;
13 use Behat\Gherkin\Node\StepNode;
16 * Step definition snippet.
18 * @author Konstantin Kudryashov <ever.zet@gmail.com>
23 * Returns snippet type.
27 public function getType();
30 * Returns snippet unique ID (step type independent).
34 public function getHash();
37 * Returns definition snippet text.
41 public function getSnippet();
44 * Returns step which asked for this snippet.
48 public function getStep();
51 * Returns snippet target.
55 public function getTarget();