PHP Класс MyBuilder\Cronos\Formatter\Header

Показать файл Открыть проект

Открытые методы

Метод Описание
__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