igaster\laravelTheme\Theme::configSet PHP Method

configSet() public method

Return the configuration value of $key for the current theme. Configuration values are stored per theme in themes.php config file.
public configSet ( string $key, mixed $value ) : mixed
$key string
$value mixed
return mixed
    public function configSet($key, $value)
    {
        $themeName = $this->name;
        \Config::set("themes.themes.{$themeName}.{$key}", $value);
        return $value;
    }