PHP Class PartKeepr\CronLoggerBundle\Entity\CronLogger

Inheritance: extends PartKeepr\CoreBundle\Entity\BaseEntity
Afficher le fichier Open project: partkeepr/PartKeepr Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Returns the cronjob for this entry.
public getCronjob ( ) : string
Résultat string the title

getLastRunDate() public méthode

Returns the date and time for this entry.
public getLastRunDate ( ) : DateTime
Résultat DateTime the date and time for this entry

setCronjob() public méthode

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

setLastRunDate() public méthode

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