Settings.with_path


Description:

protected Settings.with_path (string schema, string path)

Creates a new Granite.Services.Settings object for the supplied schema, and path.

You only need to do this if you want to directly create a settings object with a schema that doesn't have a specified path of its own. That's quite rare.

It is a programmer error to call this function for a schema that has an explicitly specified path.

Parameters:

schema

the name of the schema to interact with

path

the path to use