PHP 클래스 Scientist\Result

Here we have the results of our experiment. My fingers are crossed for you! - Dayle.
파일 보기 프로젝트 열기: daylerees/scientist 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$endMemory float The memory usage after the callback is executed.
$endTime float The time the callback finished executing.
$exception Exception | null Exception thrown by callback.
$match boolean Does the callback result value match the control.
$startMemory float The memory usage before the callback is executed.
$startTime float The time the callback was executed.
$value mixed Callback result value.

공개 메소드들

메소드 설명
getEndMemory ( ) : float Get the callback execution ending memory usage.
getEndTime ( ) : float Get the callback execution end time.
getException ( ) : Exceptio\Exception | null Get the exception thrown by the callback.
getMemory ( ) : float Get the memory spike amount of the callback.
getStartMemory ( ) : float Get the callback execution starting memory usage.
getStartTime ( ) : float Get the callback execution start time.
getTime ( ) : float Get the execution time of the callback.
getValue ( ) : mixed Get the callback result value.
isMatch ( ) : boolean Determine whether the callback result matches the control.
setEndMemory ( float $endMemory ) Set the callback execution ending memory usage.
setEndTime ( float $endTime ) Set the callback execution end time.
setException ( Exceptio\Exception | null $exception ) Set the exception thrown by the callback.
setMatch ( boolean $match ) Set whether the callback result matches the control.
setStartMemory ( float $startMemory ) Set the callback execution starting memory usage.
setStartTime ( float $startTime ) Set the callback execution start time.
setValue ( mixed $value ) Set the callback result value.

메소드 상세

getEndMemory() 공개 메소드

Get the callback execution ending memory usage.
public getEndMemory ( ) : float
리턴 float

getEndTime() 공개 메소드

Get the callback execution end time.
public getEndTime ( ) : float
리턴 float

getException() 공개 메소드

Get the exception thrown by the callback.
public getException ( ) : Exceptio\Exception | null
리턴 Exceptio\Exception | null

getMemory() 공개 메소드

Get the memory spike amount of the callback.
public getMemory ( ) : float
리턴 float

getStartMemory() 공개 메소드

Get the callback execution starting memory usage.
public getStartMemory ( ) : float
리턴 float

getStartTime() 공개 메소드

Get the callback execution start time.
public getStartTime ( ) : float
리턴 float

getTime() 공개 메소드

Get the execution time of the callback.
public getTime ( ) : float
리턴 float

getValue() 공개 메소드

Get the callback result value.
public getValue ( ) : mixed
리턴 mixed

isMatch() 공개 메소드

Determine whether the callback result matches the control.
public isMatch ( ) : boolean
리턴 boolean

setEndMemory() 공개 메소드

Set the callback execution ending memory usage.
public setEndMemory ( float $endMemory )
$endMemory float

setEndTime() 공개 메소드

Set the callback execution end time.
public setEndTime ( float $endTime )
$endTime float

setException() 공개 메소드

Set the exception thrown by the callback.
public setException ( Exceptio\Exception | null $exception )
$exception Exceptio\Exception | null

setMatch() 공개 메소드

Set whether the callback result matches the control.
public setMatch ( boolean $match )
$match boolean

setStartMemory() 공개 메소드

Set the callback execution starting memory usage.
public setStartMemory ( float $startMemory )
$startMemory float

setStartTime() 공개 메소드

Set the callback execution start time.
public setStartTime ( float $startTime )
$startTime float

setValue() 공개 메소드

Set the callback result value.
public setValue ( mixed $value )
$value mixed

프로퍼티 상세

$endMemory 보호되어 있는 프로퍼티

The memory usage after the callback is executed.
protected float $endMemory
리턴 float

$endTime 보호되어 있는 프로퍼티

The time the callback finished executing.
protected float $endTime
리턴 float

$exception 보호되어 있는 프로퍼티

Exception thrown by callback.
protected Exception|null $exception
리턴 Exception | null

$match 보호되어 있는 프로퍼티

Does the callback result value match the control.
protected bool $match
리턴 boolean

$startMemory 보호되어 있는 프로퍼티

The memory usage before the callback is executed.
protected float $startMemory
리턴 float

$startTime 보호되어 있는 프로퍼티

The time the callback was executed.
protected float $startTime
리턴 float

$value 보호되어 있는 프로퍼티

Callback result value.
protected mixed $value
리턴 mixed