src/Settings/SettingsImporter.php
public function importSetting($setting)
    {
        $short_name = basename(str_replace('\\', '/', get_class($setting)));

        $method = 'importSetting' . $short_name;

        if (method_exists($this, $method)) {
            $this->$method($setting);
        }
    }
public function importSetting($setting)
    {
        $short_name = basename(str_replace('\\', '/', get_class($setting)));

        $method = 'importSetting' . $short_name;

        if (method_exists($this, $method)) {
            $this->$method($setting);
        }
    }
public function importSetting ( $ setting ) { $ short_name = basename ( str_replace ( '\\' , '/' , get_class ( $ setting ) ) ) ; $ method = 'importSetting' . $ short_name ; if ( method_exists ( $ this , $ method ) ) { $ this -> $ method ( $ setting ) ; } }
Import the setting into the class

@param \League\CLImate\Settings\SettingsInterface $setting
Import the setting into the class