<?php
declare(strict_types=1);

namespace Ekesto\CacheInvalidator\Integrations\Multilingual;

/**
 * Exposes the active language for scoped context restoration.
 */
interface CurrentLanguageResolverInterface
{
    /**
     * Return the currently active language code.
     *
     * @return string|null Active language code, or null when unavailable.
     */
    public function getCurrentLanguage(): ?string;
}
