. */ namespace App\Services\LabelSystem\PlaceholderProviders; interface PlaceholderProviderInterface { /** * Determines the real value of this placeholder. * If the placeholder is not supported, null must be returned. * * @param string $placeholder The placeholder (e.g. "%%PLACEHOLDER%%") that should be replaced * @param object $label_target The object that is targeted by the label * @param array $options a list of options that can be used to specify the generated output further * * @return string|null the real value of this placeholder, null if not supported */ public function replace(string $placeholder, object $label_target, array $options = []): ?string; }