<?php
namespace BooklyDepositPayments\Backend\Modules\Appearance\ProxyProviders;

use Bookly\Backend\Modules\Appearance\Proxy;

/**
 * Class Shared
 * @package BooklyDepositPayments\Backend\Modules\Appearance\ProxyProviders
 */
class Shared extends Proxy\Shared
{
    /**
     * @inheritdoc
     */
    public static function prepareOptions( array $options_to_save, array $options )
    {
        $options_to_save = array_merge( $options_to_save, array_intersect_key( $options, array_flip( array(
            'bookly_l10n_info_deposit',
            'bookly_l10n_label_deposit_payment',
            'bookly_l10n_label_full_payment',
        ) ) ) );

        return $options_to_save;
    }

}