<?php

namespace GriffinForms\Includes\MergeTokens;

interface ResolverInterface
{
    /**
     * Resolve a token to a string value.
     *
     * @param array $token
     * @param array $context
     * @return string|null
     */
    public function resolve(array $token, array $context): ?string;
}
