PHP Class Jobby\Helper

Afficher le fichier Open project: hellogerard/jobby Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Swift_Mailer $mailer = null )
acquireLock ( string $lockFile )
escape ( string $input ) : string
getApplicationEnv ( ) : string | null
getHost ( ) : string
getLockLifetime ( string $lockFile ) : integer
getPlatform ( ) : integer
getSystemNullDevice ( )
getTempDir ( ) : string
releaseLock ( string $lockFile )
sendMail ( string $job, array $config, string $message ) : Swift_Message

Private Methods

Méthode Description
getCurrentMailer ( array $config ) : Swift_Mailer

Method Details

__construct() public méthode

public __construct ( Swift_Mailer $mailer = null )
$mailer Swift_Mailer

acquireLock() public méthode

public acquireLock ( string $lockFile )
$lockFile string

escape() public méthode

public escape ( string $input ) : string
$input string
Résultat string

getApplicationEnv() public méthode

public getApplicationEnv ( ) : string | null
Résultat string | null

getHost() public méthode

public getHost ( ) : string
Résultat string

getLockLifetime() public méthode

public getLockLifetime ( string $lockFile ) : integer
$lockFile string
Résultat integer

getPlatform() public méthode

public getPlatform ( ) : integer
Résultat integer

getSystemNullDevice() public méthode

public getSystemNullDevice ( )

getTempDir() public méthode

public getTempDir ( ) : string
Résultat string

releaseLock() public méthode

public releaseLock ( string $lockFile )
$lockFile string

sendMail() public méthode

public sendMail ( string $job, array $config, string $message ) : Swift_Message
$job string
$config array
$message string
Résultat Swift_Message