private function getTempDir(): string
    {
        $container = $this->getContainer();
        $tmpDir = sys_get_temp_dir().'/'.md5($container->getParameter('kernel.project_dir'));

        if (!is_dir($tmpDir)) {
            $container->get('filesystem')->mkdir($tmpDir);
        }

        return $tmpDir;
    }
private function getTempDir(): string
    {
        $container = $this->getContainer();
        $tmpDir = sys_get_temp_dir().'/'.md5($container->getParameter('kernel.project_dir'));

        if (!is_dir($tmpDir)) {
            $container->get('filesystem')->mkdir($tmpDir);
        }

        return $tmpDir;
    }
private function getTempDir ( ) : string { $ container = $ this -> getContainer ( ) ; $ tmpDir = sys_get_temp_dir ( ) . '/' . md5 ( $ container -> getParameter ( 'kernel.project_dir' ) ) ; if ( ! is_dir ( $ tmpDir ) ) { $ container -> get ( 'filesystem' ) -> mkdir ( $ tmpDir ) ; } return $ tmpDir ; }
Creates an installation specific folder in the temporary directory and returns its path.
Creates an installation specific folder in the temporary directory and returns its path .