<?php

namespace RadiusTheme\RadiusBooking\Shortcodes;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class EmployeeList {

	/**
	 * Output employee list.
	 *
	 * @param array|string $atts Shortcode attributes.
	 *
	 * @return void
	 */
	public static function output( $atts ): void {
		$atts = shortcode_atts(
			array(
				'layout'   => '',
				'columns'  => '',
				'per_page' => '',
				'service'  => '',
				'location' => '',
			),
			$atts,
			'rtrb_employee_list'
		);

		rtrb_get_template( 'employee-list/employee-list.php', array( 'atts' => $atts ) );
	}
}
