Behat


Behat\Behat\Formatter\FormatterDispatcher
Behat/Behat/Formatter/FormatterDispatcher.php at line 21

Class FormatterDispatcher

FormatterDispatcher

public class FormatterDispatcher

Formatter dispatcher.

Author:
Konstantin Kudryashov

Constructor Summary
void

__construct(string class, string name, string description)

Initializes formatter dispatcher.

Method Summary
string

getName()

Returns formatter name.

string

getDescription()

Returns formatter description.

string

getClass()

Returns formatter class.

FormatterInterface

createFormatter()

Initializes formatter instance.

Constructor Detail

Behat/Behat/Formatter/FormatterDispatcher.php at line 36

__construct

public void __construct(string class, string name, string description)

Initializes formatter dispatcher.

Parameters:
class - Formatter class
name - Name of the formatter
description - Formatter description
Throws:
\RuntimeException

Method Detail

Behat/Behat/Formatter/FormatterDispatcher.php at line 55

getName

public string getName()

Returns formatter name.


Behat/Behat/Formatter/FormatterDispatcher.php at line 65

getDescription

public string getDescription()

Returns formatter description.


Behat/Behat/Formatter/FormatterDispatcher.php at line 75

getClass

public string getClass()

Returns formatter class.


Behat/Behat/Formatter/FormatterDispatcher.php at line 85

createFormatter

public FormatterInterface createFormatter()

Initializes formatter instance.


Behat