src/Config.php
public function load(string $key): void
    {
        if( preg_match("/^([^\.]+)\.?/", $key, $match) ){

            // Save the key
            $key = $match[1];

            // Build the file path
            $file = path("config/{$key}.php");

            $this->loadFile($key, $file);
        }
    }
public function load(string $key): void
    {
        if( preg_match("/^([^\.]+)\.?/", $key, $match) ){

            // Save the key
            $key = $match[1];

            // Build the file path
            $file = path("config/{$key}.php");

            $this->loadFile($key, $file);
        }
    }
Undocumented function

@param string $key
@return void