<?php
namespace Bookaro\Service;

defined( 'ABSPATH' ) || exit;

use Bookaro\Contracts\ExportsProviderInterface;

/**
 * No-op exports provider for Lite builds.
 */
class NullExportsProvider implements ExportsProviderInterface
{
    public function is_available(): bool
    {
        return false;
    }

    public function export_bookings( array $args )
    {
        return new \WP_Error(
            'bookaro_pro_required',
            __( 'Available in MyBookaro Pro.', 'mybookaro' )
        );
    }

    public function export_reports( array $args )
    {
        return new \WP_Error(
            'bookaro_pro_required',
            __( 'Available in MyBookaro Pro.', 'mybookaro' )
        );
    }
}
