public static function createTraceablePDODecorator(
        ContainerInterface $container,
        ?PDO $pdo = null
    ): ?TraceablePDODecorater {
        if ($pdo === null) {
            return null;
        }

        return new TraceablePDODecorater($pdo);
    }