CLI Base App

This commit is contained in:
2022-11-09 15:25:59 -03:00
parent 02a68d9190
commit 11d8479a0c
10 changed files with 146 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<?php
$folder = $app->getContainer()->get('commands_folder');
$files = new FilesystemIterator($folder);
foreach ($files as $file) {
if ($file->isDir()) {
continue;
}
include_once $file->getRealPath();
}