<?php
/**
 * Service Interface
 *
 * Base interface for all service classes
 *
 * @package NemtlyBooking
 * @since   PBOOKING_SINCE
 */

namespace NemtlyBooking\Interfaces;

/**
 * Service Interface
 *
 * @since PBOOKING_SINCE
 */
interface Service_Interface {

    /**
     * Initialize the service
     *
     * @since PBOOKING_SINCE
     */
    public function init();

    /**
     * Get service name
     *
     * @since PBOOKING_SINCE
     *
     * @return string Service name.
     */
    public function get_name();

    /**
     * Check if service is available
     *
     * @since PBOOKING_SINCE
     *
     * @return bool True if available, false otherwise.
     */
    public function is_available();
}
