PHP Класс Laravel\Envoy\Slack

Наследование: use trait ConfigurationParser
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$channel
$hook
$message
$options

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

Метод Описание
__construct ( string $hook, mixed $channel = '', string $message = null, array $options = [] ) : void Create a new Slack instance.
make ( string $hook, mixed $channel = '', string $message = null, array $options = [] ) : Slack Create a new Slack message instance.
send ( ) : void Send the Slack message.
task ( string $task ) Set the task for the message.

Описание методов

__construct() публичный Метод

Create a new Slack instance.
public __construct ( string $hook, mixed $channel = '', string $message = null, array $options = [] ) : void
$hook string
$channel mixed
$message string
$options array
Результат void

make() публичный статический Метод

Create a new Slack message instance.
public static make ( string $hook, mixed $channel = '', string $message = null, array $options = [] ) : Slack
$hook string
$channel mixed
$message string
$options array
Результат Slack

send() публичный Метод

Send the Slack message.
public send ( ) : void
Результат void

task() публичный Метод

Set the task for the message.
public task ( string $task )
$task string

Описание свойств

$channel публичное свойство

public $channel

$hook публичное свойство

public $hook

$message публичное свойство

public $message

$options публичное свойство

public $options