title: How to make custom settings data available globally in Yii 2?
body: <p>I'm creating an application which stores some settings in the database and ideally it would be good to load these settings during bootstrapping and make them available via an object globally.</p>
  
  <p>Can this be done and added to <code>Yii::$app-&gt;params</code> somehow?</p>
  
  <p>Such as you can create a class and return the details as an array or object instance?</p>