PHP Class Laravel\Envoy\Hipchat

Inheritance: use trait ConfigurationParser
Show file Open project: laravel/envoy

Public Properties

Property Type Description
$color
$from
$message
$room
$token

Public Methods

Method Description
__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.

Method Details

__construct() public method

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
return void

make() public static method

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
return Hipchat

send() public method

Send the HipChat message.
public send ( ) : mixed
return mixed

task() public method

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

Property Details

$color public property

public $color

$from public property

public $from

$message public property

public $message

$room public property

public $room

$token public property

public $token