PHP 클래스 MyBuilder\Cronos\Formatter\Header

파일 보기 프로젝트 열기: mybuilder/cronos

공개 메소드들

메소드 설명
__construct ( Cron $cron )
end ( ) : Cron
format ( ) : string
setContentTransferEncoding ( string $encoding ) Set the charset to use for cron output emails.
setContentType ( string $contentType ) Set the content-type to use for cron output emails.
setHome ( string $home )
setMailto ( string $email )
setPath ( string $path ) Works just like the shell PATH, but it does not inherit from your environment.
setShell ( string $shell ) Set the shell to be used when executing commands

비공개 메소드들

메소드 설명
assertValidEmail ( $email )
createHeader ( $name, $value )

메소드 상세

__construct() 공개 메소드

public __construct ( Cron $cron )
$cron Cron

end() 공개 메소드

public end ( ) : Cron
리턴 Cron

format() 공개 메소드

public format ( ) : string
리턴 string

setContentTransferEncoding() 공개 메소드

Set the charset to use for cron output emails.
public setContentTransferEncoding ( string $encoding )
$encoding string

setContentType() 공개 메소드

Set the content-type to use for cron output emails.
public setContentType ( string $contentType )
$contentType string

setHome() 공개 메소드

public setHome ( string $home )
$home string

setMailto() 공개 메소드

public setMailto ( string $email )
$email string

setPath() 공개 메소드

Works just like the shell PATH, but it does not inherit from your environment.
public setPath ( string $path )
$path string

setShell() 공개 메소드

Default is /bin/sh but can also be changed to /bin/php
public setShell ( string $shell )
$shell string