Behat


Behat\Behat\HelpPrinter\StorySyntaxPrinter
Behat/Behat/HelpPrinter/StorySyntaxPrinter.php at line 23

Class StorySyntaxPrinter

StorySyntaxPrinter

public class StorySyntaxPrinter

Story syntax printer.

Author:
Konstantin Kudryashov

Constructor Summary
void

__construct(KeywordsDumper dumper)

Initializes definition dispatcher.

Method Summary
void

printSyntax(OutputInterface output, string language)

Prints example story syntax into console.

string

dumpKeywords(array keywords)

Keywords dumper.

Constructor Detail

Behat/Behat/HelpPrinter/StorySyntaxPrinter.php at line 32

__construct

public void __construct(KeywordsDumper dumper)

Initializes definition dispatcher.


Method Detail

Behat/Behat/HelpPrinter/StorySyntaxPrinter.php at line 44

printSyntax

public void printSyntax(OutputInterface output, string language)

Prints example story syntax into console.


Behat/Behat/HelpPrinter/StorySyntaxPrinter.php at line 64

dumpKeywords

public string dumpKeywords(array keywords)

Keywords dumper.

Parameters:
keywords - keywords list

Behat