PHP 클래스 Jobby\Helper

파일 보기 프로젝트 열기: hellogerard/jobby 1 사용 예제들

공개 메소드들

메소드 설명
__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

비공개 메소드들

메소드 설명
getCurrentMailer ( array $config ) : Swift_Mailer

메소드 상세

__construct() 공개 메소드

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

acquireLock() 공개 메소드

public acquireLock ( string $lockFile )
$lockFile string

escape() 공개 메소드

public escape ( string $input ) : string
$input string
리턴 string

getApplicationEnv() 공개 메소드

public getApplicationEnv ( ) : string | null
리턴 string | null

getHost() 공개 메소드

public getHost ( ) : string
리턴 string

getLockLifetime() 공개 메소드

public getLockLifetime ( string $lockFile ) : integer
$lockFile string
리턴 integer

getPlatform() 공개 메소드

public getPlatform ( ) : integer
리턴 integer

getSystemNullDevice() 공개 메소드

public getSystemNullDevice ( )

getTempDir() 공개 메소드

public getTempDir ( ) : string
리턴 string

releaseLock() 공개 메소드

public releaseLock ( string $lockFile )
$lockFile string

sendMail() 공개 메소드

public sendMail ( string $job, array $config, string $message ) : Swift_Message
$job string
$config array
$message string
리턴 Swift_Message