<?php
/**
 * Card part contract.
 *
 * @package Kutby
 * @since   2.9.0
 */

declare(strict_types=1);

namespace Kutby\Cards\Contracts;

use Kutby\Cards\Support\CardContext;

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

/**
 * Interface CardPartInterface
 */
interface CardPartInterface {

	/**
	 * @param CardContext          $ctx  Context.
	 * @param array<string, mixed> $args Local args.
	 * @return void
	 */
	public static function render( CardContext $ctx, array $args = array() ): void;
}
