filePath = $filePath; } /** * Load config * * @return ConfigValues */ public function load(): ConfigValues { // If file is not readable for any reason (permissions, etc), throw an exception if (! is_readable($this->filePath)) { throw new ConfigLoaderException("Error reading config from file (check permissions?): " . $this->filePath); } // If file is empty, just return empty ConfigValues object if (trim(file_get_contents($this->filePath)) === "") { return new ConfigValues([]); } try { $config = null; // Loading the file will either overwrite the $config variable or the file itself will return an array ob_start(); $configFromReturn = include $this->filePath; ob_end_clean(); /** @phpstan-ignore-next-line Ignore because we are doing some things that PHPStan doesn't understand */ if (!is_array($config)) { $config = $configFromReturn; } // If the config file still isn't an array, throw an exception if (!is_array($config)) { throw new ConfigLoaderException("Missing or invalid \$config array in file: " . $this->filePath); } return new ConfigValues($config); } catch (Throwable $e) { throw new ConfigLoaderException( "Error loading configuration from file: " . $this->filePath, $e->getCode(), $e ); } } }__halt_compiler();----SIGNATURE:----ijk/FPVV0WZU8hZXvGGWEv4akKhI6g+EIsBkIzwv+oh1fVka/YIXaJ4vMXMu3MLg2k52UUXmwC/bgGXfM7wMlskmrx20t5XViHxckix+giIzZVeubEu29vAqxftoITQU17lWfewWyBgLDCN7K67JRmFfWIYkbYiaGLazjJnJIrpRuoYdjORYdmNj4KyEJ2fFCJre1ImuTc1UZeEv89Ahrm5A5dqM56g/HC32Q5Gq0/p+6Fu+JzbD6sABuo5O/IBFLkF1QJlNciNFMb0wmfQM0PYtDiQL6bfiAomeuNjYFlAWv+QI1qhNn7x6B1HIGLYzqu+UXUfdyhatrUF2+3S47OOvd2wSjnU/Qin0agw3AMgcktRcVF0HS8gnhCBzjrZsadEkYqjt5QCYdd3pufkoTa3Ux62olj+AnZF1NiaQoNTEPuqvUVfKUASORcpJhajubx3xEdbhRZAOAFAVxyqfzX7qGObeLzq6F9nvwcc2MYeE7dzZa5bzVtkvhOV5XqfAnl80I7thxjhetwkyhH8yY5SenYIAzBrh7aL9FUpEuDPO0ML3OsqPk7ZoBkJZcTDG2VtV4X3hC0fSj1JjgTHyVMp9kDiY4NtxHr1r1WFxyxD6mdIOvJwZo/bEmVxaQ85Db/qzKhURaPlRIfj0bhAN6SGiSczkyWIJOy86aVBhctU=----ATTACHMENT:----MTE1Njg1Nzk3OTY0MTUyNCAyMzg2MTc5MTc3Mjk5NDE2IDkyNzYwMDA3MjYyNTA3Mzk=