<?php

namespace NoahVet\Reef\Factory\RequestContext;

use Symfony\Component\HttpFoundation\Request;

/**
 * @psalm-import-type WhitelistShape from \NoahVet\Reef\Factory\RequestContext\ApplierInterface
 */
interface KeywordApplierInterface
{
    /**
     * @param WhitelistShape $whitelist
     */
    public function apply(Request $request, array $whitelist): string;
}
