Laravel\Envoy\Slack::__construct PHP Метод

__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
    public function __construct($hook, $channel = '', $message = null, $options = [])
    {
        $this->hook = $hook;
        $this->channel = $channel;
        $this->message = $message;
        $this->options = $options;
    }