PHP Class PartKeepr\CronLoggerBundle\Entity\CronLogger

Inheritance: extends PartKeepr\CoreBundle\Entity\BaseEntity
Datei anzeigen Open project: partkeepr/PartKeepr Class Usage Examples

Public Methods

Method Description
getCronjob ( ) : string Returns the cronjob for this entry.
getLastRunDate ( ) : DateTime Returns the date and time for this entry.
setCronjob ( string $cronjob ) Sets the cronjob for this entry.
setLastRunDate ( DateTime $date ) Sets the last run date and time for this entry.

Method Details

getCronjob() public method

Returns the cronjob for this entry.
public getCronjob ( ) : string
return string the title

getLastRunDate() public method

Returns the date and time for this entry.
public getLastRunDate ( ) : DateTime
return DateTime the date and time for this entry

setCronjob() public method

Sets the cronjob for this entry.
public setCronjob ( string $cronjob )
$cronjob string the title for this entry

setLastRunDate() public method

Sets the last run date and time for this entry.
public setLastRunDate ( DateTime $date )
$date DateTime The date and time