PHP 클래스 kahlan\Summary

파일 보기 프로젝트 열기: crysalead/kahlan

보호된 프로퍼티들

프로퍼티 타입 설명
$_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