Laravel\Envoy\Hipchat::__construct PHP Method

__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
    public function __construct($token, $room, $from, $message = null, $color = 'purple')
    {
        $this->room = $room;
        $this->from = $from;
        $this->token = $token;
        $this->message = $message;
        $this->color = $color;
    }