????JFIF??x?x????'
| Server IP : 172.67.174.47  /  Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././home/tempvsty/./peekmysite.com/wp-content/plugins/elementor/data/base/ | 
| Upload File : | 
<?php
namespace Elementor\Data\Base;
/**
 * TODO: Add test.
 */
abstract class SubEndpoint extends Endpoint {
	/**
	 * @var Endpoint
	 */
	protected $parent_endpoint;
	/**
	 * @var string
	 */
	protected $parent_route = '';
	public function __construct( $parent_route, $parent_endpoint ) {
		$this->parent_endpoint = $parent_endpoint;
		$this->parent_route = $parent_route;
		parent::__construct( $this->parent_endpoint->controller );
	}
	/**
	 * Get parent route.
	 *
	 * @return \Elementor\Data\Base\Endpoint
	 */
	public function get_parent() {
		return $this->parent_endpoint;
	}
	public function get_base_route() {
		$controller_name = $this->controller->get_name();
		return $controller_name . '/' . $this->parent_route . $this->get_name();
	}
}