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

    use BBE\Customizer\Base as Base;
    
    if( ! class_exists( __NAMESPACE__ . '\\Typography' ) ) {
        /**
         * Typography Class
         */
        class Typography extends Base {
            /**
             * Type of control
             * 
             * @since 1.0.0
             */
            public $type = 'typography';

            /**
             * Fields to exclude
             * 
             * @since 1.0.0
             */
            public $exclude = [];

            /**
             * json
             * 
             * @since 1.0.0
             */
            public function to_json() {
                parent::to_json();
                $this->json[ 'exclude' ] = $this->exclude;
            }
        }
        Typography::set_control_type( 'typography' );
    }