public function defineOptions(\Twig_Environment $env, $args) {
        $request = $this->requestStack->getCurrentRequest();
        if ($request) {
            $config = $this->fetchAutoTablesConfiguration($args);
            $entities = $this->entityInspectionService->parseEntities($this->getParameter($args, 'entities', array()), $config);
            $request->attributes->set('tsAutoTablesConfig', $config);
            $request->attributes->set('tsAutoTablesEntities', $entities);
            $request->attributes->set('tsAutoTablesEntityDescriptor', $this->entityInspectionService->fetchEntityDescriptor($config));
        }
        return '';
    }