title: $settings array or Config Class to store project settings?
body: <p>How should I store settings for project?</p>
  
  <p>Which is better - to use a <code>$settings</code> array with all my settings:</p>
  
  <pre><code>$settings['max_photos'] = 30;
  //...
  </code></pre>
  
  <p>or create a singleton <code>Config</code> class with all the settings in it? </p>
  
  <pre><code>Class Config {
      private $max_photos = 30;
      //...
  }
  </code></pre>
  
  <p>Any good examples?</p>