split runtime info into runtime preferences

This commit is contained in:
sunxyw
2023-03-09 22:36:20 +08:00
parent 772288b517
commit 510bb8dc30
17 changed files with 126 additions and 134 deletions

View File

@@ -4,11 +4,11 @@ declare(strict_types=1);
namespace ZM\Bootstrap;
use ZM\HasRuntimeInfo;
use ZM\Config\RuntimePreferences;
class LoadGlobalDefines implements Bootstrapper
{
public function bootstrap(HasRuntimeInfo $runtime_info): void
public function bootstrap(RuntimePreferences $preferences): void
{
require FRAMEWORK_ROOT_DIR . '/src/Globals/global_defines_framework.php';
}