PHP Class CronLingo\Cron

Class Cron
Afficher le fichier Open project: ajbdev/cronlingo Class Usage Examples

Méthodes publiques

Свойство Type Description
$dayOfMonth Field
$dayOfWeek Field
$hour Field
$minute Field
$month Field

Protected Properties

Свойство Type Description
$whitespace string

Méthodes publiques

Méthode Description
__construct ( $string = null )
__toString ( ) : string
fromString ( $string ) Create CRON object from a crontab string
ordered ( ) : array Get CRON expression field order in structured format
setWhitespace ( string $whitespace )

Method Details

__construct() public méthode

public __construct ( $string = null )

__toString() public méthode

public __toString ( ) : string
Résultat string

fromString() public méthode

Create CRON object from a crontab string
public fromString ( $string )
$string

ordered() public méthode

Get CRON expression field order in structured format
public ordered ( ) : array
Résultat array

setWhitespace() public méthode

public setWhitespace ( string $whitespace )
$whitespace string

Property Details

$dayOfMonth public_oe property

public Field,cronlingo $dayOfMonth
Résultat Field

$dayOfWeek public_oe property

public Field,cronlingo $dayOfWeek
Résultat Field

$hour public_oe property

public Field,cronlingo $hour
Résultat Field

$minute public_oe property

public Field,cronlingo $minute
Résultat Field

$month public_oe property

public Field,cronlingo $month
Résultat Field

$whitespace protected_oe property

protected string $whitespace
Résultat string