Behat


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

Interface FormatterInterface

EventSubscriberInterface
└─FormatterInterface

public interface FormatterInterface
extends EventSubscriberInterface

Formatter interface.

Author:
Konstantin Kudryashov

Method Summary
void

setTranslator(Translator translator)

Set formatter translator.

Boolean

hasParameter(string name)

Checks if current formatter has parameter.

void

setParameter(string name, mixed value)

Sets formatter parameter.

mixed

getParameter(string name)

Returns parameter value.

Method Detail

Behat/Behat/Formatter/FormatterInterface.php at line 28

setTranslator

public void setTranslator(Translator translator)

Set formatter translator.


Behat/Behat/Formatter/FormatterInterface.php at line 37

hasParameter

public Boolean hasParameter(string name)

Checks if current formatter has parameter.


Behat/Behat/Formatter/FormatterInterface.php at line 45

setParameter

public void setParameter(string name, mixed value)

Sets formatter parameter.


Behat/Behat/Formatter/FormatterInterface.php at line 54

getParameter

public mixed getParameter(string name)

Returns parameter value.


Behat