'string', 'status' => 'int|min:0|max:4', 'message' => 'string', 'visible' => 'bool', 'component_id' => 'int', 'component_status' => 'int|min:1|max:4|required_with:component_id', 'notify' => 'bool', 'stickied' => 'bool', 'template' => 'string', ]; /** * Create a new update incident command instance. * * @param \CachetHQ\Cachet\Models\Incident $incident * @param string $name * @param int $status * @param string $message * @param int $visible * @param int $component_id * @param int $component_status * @param bool $notify * @param bool $stickied * @param string|null $incident_date * @param string|null $template * @param array $template_vars * * @return void */ public function __construct(Incident $incident, $name, $status, $message, $visible, $component_id, $component_status, $notify, $stickied, $incident_date, $template, array $template_vars = []) { $this->incident = $incident; $this->name = $name; $this->status = $status; $this->message = $message; $this->visible = $visible; $this->component_id = $component_id; $this->component_status = $component_status; $this->notify = $notify; $this->stickied = $stickied; $this->incident_date = $incident_date; $this->template = $template; $this->template_vars = $template_vars; } }