PHP Класс Kahlan\Reporter\Dot

Наследование: extends Kahlan\Reporter\Terminal
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_columns integer The max number of columns.
$_counter integer Store the current number of dots.
$_dotWidth integer The dot area with.

Открытые методы

Метод Описание
__construct ( array $config = [] ) Constructor
end ( object $summary ) Callback called at the end of specs processing.
specEnd ( object $log = null ) Callback called after a spec execution.
start ( array $args ) Callback called before any specs processing.

Защищенные методы

Метод Описание
_write ( string $string, array | string $options = null ) Outputs the string message in the console.

Описание методов

__construct() публичный Метод

Constructor
public __construct ( array $config = [] )
$config array The config array. Possible options are: -`'columns'`: the max columns width for dot area.

_write() защищенный Метод

Outputs the string message in the console.
protected _write ( string $string, array | string $options = null )
$string string The string message.
$options array | string The color options.

end() публичный Метод

Callback called at the end of specs processing.
public end ( object $summary )
$summary object The execution summary instance.

specEnd() публичный Метод

Callback called after a spec execution.
public specEnd ( object $log = null )
$log object The log object of the whole spec.

start() публичный Метод

Callback called before any specs processing.
public start ( array $args )
$args array The suite arguments array.

Описание свойств

$_columns защищенное свойство

The max number of columns.
protected int $_columns
Результат integer

$_counter защищенное свойство

Store the current number of dots.
protected int $_counter
Результат integer

$_dotWidth защищенное свойство

The dot area with.
protected int $_dotWidth
Результат integer