|
Server : LiteSpeed System : Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64 User : gazetufm ( 1431) PHP Version : 8.1.35 Disable Function : NONE Directory : /home2/gazetufm/bleje.net/wp-content/plugins/elementor/core/kits/concerns/ | |
|
Path: //home2/gazetufm/bleje.net/wp-content/plugins/elementor/core/kits/concerns/has-kit-dependency.php
Size: 454 B
Permissions: 0644
<?php
namespace Elementor\Core\Kits\Concerns;
use Elementor\Core\Kits\Documents\Kit;
use Elementor\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
trait Has_Kit_Dependency {
private ?Kit $kit = null;
public function set_kit( Kit $kit ): self {
$this->kit = $kit;
return $this;
}
protected function get_kit(): ?Kit {
if ( ! $this->kit ) {
$this->kit = Plugin::$instance->kits_manager->get_active_kit();
}
return $this->kit;
}
}