PHP Класс kahlan\Summary

Показать файл Открыть проект

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

Свойство Тип Описание
$_data array The data results array.
$_logs array The log results array.
$_memoryUsage integer The memory usage

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

Метод Описание
__call ( $name, $args ) : integer Return the number of specs of a certain type.
add ( string $type, mixed $value ) : self Add a data to a specific key.
executable ( ) : integer Return the number of executable specs.
expectation ( ) : integer Return the total number of expectations.
get ( string $type ) : array Get a data of a specific key.
log ( array $log ) : self Ingest a log.
logs ( string $type = null ) : array Get log report
memoryUsage ( $memoryUsage = null ) : integer Return the total number of specs.
total ( ) : integer Return the total number of specs.

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

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

Return the number of specs of a certain type.
public __call ( $name, $args ) : integer
Результат integer

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

Add a data to a specific key.
public add ( string $type, mixed $value ) : self
$type string The type of data.
$value mixed The value to add.
Результат self

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

Return the number of executable specs.
public executable ( ) : integer
Результат integer

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

Return the total number of expectations.
public expectation ( ) : integer
Результат integer

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

Get a data of a specific key.
public get ( string $type ) : array
$type string The type of data.
Результат array

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

Ingest a log.
public log ( array $log ) : self
$log array The log report.
Результат self

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

Get log report
public logs ( string $type = null ) : array
$type string The type of data.
Результат array

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

Return the total number of specs.
public memoryUsage ( $memoryUsage = null ) : integer
Результат integer

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

Return the total number of specs.
public total ( ) : integer
Результат integer

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

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

The data results array.
protected array $_data
Результат array

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

The log results array.
protected array $_logs
Результат array

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

The memory usage
protected int $_memoryUsage
Результат integer