* @since 4.3.0 */ class CreateTwigEvent extends Event { /** * @var string The template mode Twig is being created for (`site` or `cp`) */ public string $templateMode; /** * @var Environment The Twig environment */ public Environment $twig; }