<?php
    /**
     * Radio Image customzer custom control
     * 
     * @package Blog Bee
     * @since 1.0.0
     */
    namespace BBE\Customizer\Controls;

    use BBE\Customizer\Base as Base;
    
    if( ! class_exists( __NAMESPACE__ . '\\Section_Tab' ) ) {
        /**
         * Radio Image Class
         */
        class Section_Tab extends Base {
            /**
             * Type of control
             * 
             * @since 1.0.0
             */
            public $type = 'section-tab';

            /**
             * Control fields
             * 
             * @since 1.0.0
             */
            public $fields = [];

            /**
             * json
             * 
             * @since 1.0.0
             */
            public function to_json() {
                parent::to_json();
                $this->json[ 'fields' ] = $this->fields;
            }
        }
        Section_Tab::set_control_type( 'section-tab' );
    }