<?php
/**
 * Gutenberg block registration.
 *
 * @package Vist360
 */

namespace Vist360\Frontend;

defined( 'ABSPATH' ) || exit;

/**
 * Registers the vist360/tour block from its block.json metadata.
 */
class Block {

	/**
	 * Hook registrations.
	 */
	public function register_hooks() {
		add_action( 'init', array( $this, 'register_block' ) );
	}

	/**
	 * Register the block type.
	 */
	public function register_block() {
		register_block_type( VIST360_DIR . 'assets/block' );
	}
}
