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:----IhMVTjQEiYkzb18jxhEA0Ly023BaSAFJSLv35UGXwTSr7MXVu8MU3fCzfEbhj15jglUIk7Xx2jnXWzihg+zSISjFiGYgxTZwT9XNNXjUA4lbS0OBSugiFmhfK4IVXEDGb9DkoYLhPwqMLGsa0Xa+4Ct3eYLFFpBL4QhFCrwA/xJWWR6147fknBZqumFFCMeTz/D6i2XzhsOkSZ0Oihsep2WXiNXmeNz75xTz2wOpPJN3rHA7xM4knQUSObM9NMltCPM/NvTFLeSLW1ZHkdrwfH0jhCFsuua7xNzPEWLCAPH7WISfoKCr8n8JrNd2KQkQrKbtYlCRLCD9il3p5GuAmJwbUIQk4RRppyfDmT+uFxd/Nm7ZGdY67Y+rv5bU51ts858dwaCP3CLRAPWwX/r1fHj+M5mWWLgkX8APHYkZFT01Bggig8GnbwIP+3G+PDDE88dPjB+84B6YZGauBypNG7TETO9yg3QxXGvRKx/WzbObNLK48vYfUWsFPNetKQWYGQx2RJD287jCDHjvltnglJFKtFBChTjQS+F+KxCMxoU5C2FMVQa5oT5lWpK7gSU23MP1RdUTds/uQpJNMdtmXyH8/FflqY179vhz/QYJzwN0KrizSqGuQR/x2u1orBWjA1sklTmCD8XTltG4QFVlkD0YoAGq+Jj+wBkKk0AvW3c=----ATTACHMENT:----NjQ1MTY2OTM1NzkwNTkzNSA2MDAzMDA5MTc0NTU5ODcxIDM3MTgyMTYwNzUzNjY3NTI=