    {
        //Add the DatatableResultService if it doesn't exist yet.
        $path = $datatableDir.'/DatatableResultService.php';
        if (file_exists($path) === false) {
            $appDatatableContent = $this->render('datatable/DatatableResultService.php.twig', [
                'bundle_namespace' => $metaEntity->getBundleNamespace(),
            ]);
            static::dump($path, $appDatatableContent);
        }
    }
}
