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\Output\Node\Printer;
13 use Behat\Behat\Tester\Result\StepResult;
14 use Behat\Gherkin\Node\ScenarioLikeInterface as Scenario;
15 use Behat\Gherkin\Node\StepNode;
16 use Behat\Testwork\Output\Formatter;
19 * Prints step with optional results.
21 * @author Konstantin Kudryashov <ever.zet@gmail.com>
26 * Prints step using provided printer.
28 * @param Formatter $formatter
29 * @param Scenario $scenario
30 * @param StepNode $step
31 * @param StepResult $result
33 public function printStep(Formatter $formatter, Scenario $scenario, StepNode $step, StepResult $result);