<?php // phpcs:disable Generic.ControlStructures.InlineControlStructure.NotAllowed,PSR12.Classes.OpeningBraceSpace.Found,PSR12.Files.ImportStatement.LeadingSlash,PSR1.Methods.CamelCapsMethodName.NotCamelCaps,PSR2.Classes.ClassDeclaration.OpenBraceNewLine,Squiz.Classes.ValidClassName.NotCamelCaps,Squiz.Commenting.ClassComment.WrongStyle,Squiz.Commenting.FunctionComment.Missing,Squiz.Commenting.InlineComment.InvalidEndChar,Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine

namespace SmashBalloon\YouTubeFeed\Services\Integrations\Elementor;

use \Elementor\Widget_Base;
use \Elementor\Controls_Manager;

if (!defined('ABSPATH'))
exit; // Exit if accessed directly

class SBR_Elementor_Widget extends Widget_Base {

	public function get_name() {
		return 'sbr-widget';
	}
	public function get_title() {
		return esc_html__('Reviews Feed', 'feeds-for-youtube');
	}
	public function get_icon() {
		return 'sb-elem-icon sb-elem-inactive sb-elem-reviews';
	}
	public function get_categories() {
		return array('smash-balloon');
	}
	public function show_in_panel() {
		return false;
	}
	public function hide_on_search() {
		return true;
	}
	public function get_script_depends() {
		return [
		'sby-elementor-handler'
		];
	}
}
