all() public method

Get all settings.
public all ( ) : array
return array
 /**
  * Constructor.
  *
  * @param string $page
  */
 function __construct($page)
 {
     $this->page = $page;
     $base_settings = new \Apple_Exporter\Settings();
     self::$base_settings = $base_settings->all();
     $this->settings = apply_filters('apple_news_section_settings', $this->settings, $page);
     $this->groups = apply_filters('apple_news_section_groups', $this->groups, $page);
     self::$fonts = apply_filters('apple_news_fonts_list', self::$fonts);
     // Save settings if necessary
     $this->save_settings();
 }
 /**
  * Creates a new \Apple_Exporter\Settings instance and loads it with WordPress' saved
  * settings.
  */
 public function fetch_settings()
 {
     if (is_null($this->loaded_settings)) {
         $settings = new Settings();
         foreach ($settings->all() as $key => $value) {
             $wp_value = get_option($key);
             if (empty($wp_value)) {
                 $wp_value = $value;
             }
             $settings->set($key, $wp_value);
         }
         $this->loaded_settings = $settings;
     }
     return apply_filters('apple_news_loaded_settings', $this->loaded_settings);
 }