<?php


namespace JFB_Modules\Webhook\Db\Views;

use Jet_Form_Builder\Db_Queries\Views\View_Base;
use JFB_Modules\Webhook\Db\Models\Tokens_Model;

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

class Tokens_View extends View_Base {

	public function table(): string {
		return Tokens_Model::table();
	}

	public function select_columns(): array {
		return Tokens_Model::schema_columns();
	}

	public function get_dependencies(): array {
		return array(
			new Tokens_Model(),
		);
	}
}
