PHP Class Cron\Report\JobReport

Author: Dries De Peuter ([email protected])
Inheritance: implements Cron\Report\ReportInterface
Datei anzeigen Open project: cron/cron Class Usage Examples

Protected Properties

Property Type Description
$endTime
$error
$job
$output
$startTime
$successful

Public Methods

Method Description
__construct ( Cron\Job\JobInterface $job )
addError ( string $line )
addOutput ( string $line )
getEndTime ( ) : float
getError ( ) : string[]
getJob ( ) : Cron\Job\JobInterface
getOutput ( ) : string[]
getStartTime ( ) : float
isSuccessful ( ) : boolean | null
setEndTime ( float $endTime )
setStartTime ( float $startTime )
setSuccessful ( boolean $state )

Method Details

__construct() public method

public __construct ( Cron\Job\JobInterface $job )
$job Cron\Job\JobInterface

addError() public method

public addError ( string $line )
$line string

addOutput() public method

public addOutput ( string $line )
$line string

getEndTime() public method

public getEndTime ( ) : float
return float

getError() public method

public getError ( ) : string[]
return string[]

getJob() public method

public getJob ( ) : Cron\Job\JobInterface
return Cron\Job\JobInterface

getOutput() public method

public getOutput ( ) : string[]
return string[]

getStartTime() public method

public getStartTime ( ) : float
return float

isSuccessful() public method

public isSuccessful ( ) : boolean | null
return boolean | null

setEndTime() public method

public setEndTime ( float $endTime )
$endTime float

setStartTime() public method

public setStartTime ( float $startTime )
$startTime float

setSuccessful() public method

public setSuccessful ( boolean $state )
$state boolean

Property Details

$endTime protected_oe property

protected $endTime

$error protected_oe property

protected $error

$job protected_oe property

protected $job

$output protected_oe property

protected $output

$startTime protected_oe property

protected $startTime

$successful protected_oe property

protected $successful