This commit is contained in:
mmoeller
2023-01-05 10:44:38 +01:00
parent b992fd42ba
commit 9d349584ac
35 changed files with 3400 additions and 2666 deletions

View File

@@ -4,6 +4,8 @@ namespace App\Helper;
use Symfony\Component\Filesystem\Exception\IOExceptionInterface;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Finder\Finder;
class Hiltes
{
@@ -36,6 +38,15 @@ class Hiltes
public function import()
{
$finder = new Finder();
$finder->files()->in($this->current_dir_path . "/hiltes/h2c/");
foreach ($finder as $file) {
$contents = $file->getContents();
var_dump($contents);
}
}
/**
@@ -59,4 +70,6 @@ class Hiltes
echo "Error creating file at". $exception->getPath();
}
}
}