Trouble accessing setting My plugin structure was created by the plugin factory. I have a setting called ulStateClass and I have been able to change the value of that setting in the Setting for the plug in. Looking at the 3.0 Docs page for settings I see the example:

// From your main plugin class:
$foo = $this-&gt;getSettings()-&gt;foo;

// From elsewhere:
$foo = \ns\prefix\Plugin::getInstance()-&gt;getSettings()-&gt;foo;


My namespace is recoveryfinder\craftnav

In my services php file I have the following to test:

echo \recoveryfinder\craftnav::getInstance()-&gt;getSettings()-&gt;ulStateClass;


I am getting the error:


  Error Class 'recoveryfinder\craftnav' not found


Making progress with Craft and enjoying it. I am guessing that this is a misuse or misunderstanding of namespaces? How Do I correct this?
Little bit confused with your question, if you want to access your settings then you can do craft::$app->plugins->getPlugin('handle')->getSettings()->foo;