update
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user