PHP Класс Laravel\Envoy\Hipchat

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

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

Свойство Тип Описание
$color
$from
$message
$room
$token

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

Метод Описание
__construct ( string $token, mixed $room, string $from, string $message = null, string $color = 'purple' ) : void Create a new Hipchat instance.
make ( string $token, mixed $room, string $from, string $message = null, string $color = 'purple' ) : Hipchat Create a new HipChat message instance.
send ( ) : mixed Send the HipChat message.
task ( string $task ) Set the task for the message.

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

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

Create a new Hipchat instance.
public __construct ( string $token, mixed $room, string $from, string $message = null, string $color = 'purple' ) : void
$token string
$room mixed
$from string
$message string
$color string
Результат void

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

Create a new HipChat message instance.
public static make ( string $token, mixed $room, string $from, string $message = null, string $color = 'purple' ) : Hipchat
$token string
$room mixed
$from string
$message string
$color string
Результат Hipchat

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

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

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

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

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

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

public $color

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

public $from

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

public $message

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

public $room

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

public $token