src/Bundle/Template/Native.php
private static function renderTemplate(string $__file__, array $data): string
    {
        ob_start();
        extract($data);
        include $__file__;
        return ob_get_clean();
    }
private static function renderTemplate(string $__file__, array $data): string
    {
        ob_start();
        extract($data);
        include $__file__;
        return ob_get_clean();
    }
Safe include. Used for scope isolation.

@param string $__file__  File to include
@param array  $data      Data passed to template
@return string