PHP Class Kahlan\Reporter\Bar

Inheritance: extends Kahlan\Reporter\Terminal
Mostra file Open project: crysalead/kahlan

Protected Properties

Property Type Description
$_chars var array
$_color var integer
$_format var string
$_preferences var array
$_size var integer

Public Methods

Method Description
__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.

Protected Methods

Method Description
_progressBar ( ) Ouputs the progress bar to STDOUT.

Method Details

__construct() public method

Constructor
public __construct ( array $config = [] )
$config array The config array.

_progressBar() protected method

Ouputs the progress bar to STDOUT.
protected _progressBar ( )

end() public method

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

specEnd() public method

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

start() public method

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

Property Details

$_chars protected_oe property

var array
protected $_chars

$_color protected_oe property

var integer
protected $_color

$_format protected_oe property

var string
protected $_format

$_preferences protected_oe property

var array
protected $_preferences

$_size protected_oe property

var integer
protected $_size