src/Page/PageSettingsRepository.php
protected function parseCompatibleSettings(array $settings)
    {
        $settings = collect($settings)->collapse()->all();

        foreach ($settings as $setting) {
            if ($setting instanceof CanHandlePageSettings) {
                $setting->settingGet();
            }
        }
    }
protected function parseCompatibleSettings(array $settings)
    {
        $settings = collect($settings)->collapse()->all();

        foreach ($settings as $setting) {
            if ($setting instanceof CanHandlePageSettings) {
                $setting->settingGet();
            }
        }
    }
protected function parseCompatibleSettings ( array $ settings ) { $ settings = collect ( $ settings ) -> collapse ( ) -> all ( ) ; foreach ( $ settings as $ setting ) { if ( $ setting instanceof CanHandlePageSettings ) { $ setting -> settingGet ( ) ; } } }
Parse page settings.
Throw an exception if user is using a field not supported.

@param array $settings

@throws \Exception
Parse page settings . Throw an exception if user is using a field not supported .