<?php

namespace AC\Settings\Column;

use AC\Settings;
use AC\View;

class Message extends Settings\Column {

	private $label;

	private $message;

	protected function set_name() {
		$this->name = 'message';
	}

	protected function define_options() {
		return [];
	}

	public function set_label( $label ) {
		$this->label = $label;

		return $this;
	}

	public function set_message( $message ) {
		$this->message = $message;

		return $this;
	}

	public function create_view() {
		$view = new View( [
			'label'   => $this->label,
			'setting' => $this->message,
		] );

		return $view;
	}

}