static::
deleteTmpDir();
} public static function tearDownAfterClass(): void
{ static::
deleteTmpDir();
} protected static function deleteTmpDir() { if (!
file_exists($dir =
sys_get_temp_dir().'/'.
static::
getVarDir())) { return;
} $fs =
new Filesystem();
$fs->
remove($dir);
} protected static function getKernelClass(): string
{ require_once __DIR__.'/app/AppKernel.php';