This commit is contained in:
2023-11-25 00:56:18 -03:00
parent ab1647eed3
commit 7945579e80
27 changed files with 459 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<?php
function loadCommands(&$app): void {
$files = new FilesystemIterator($app->getContainer()->get('folders')->commands);
foreach ($files as $file) {
if ($file->isDir()) {
continue;
}
include_once $file->getRealPath();
}
}
loadCommands($app);