* Roger * Dupont * * ``` * * @param T|null $entity */ public function renderBox(mixed $entity, array $options): string; /** * Return the entity as a string. * * Example: returning the name of a person. * * @param T|null $entity */ public function renderString(mixed $entity, array $options): string; /** * Return true if the class support this object for the given options. * * @phpstan-pure */ public function supports(object $entity, array $options): bool; }