HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/self/cwd/wp-content/plugins/smart-slider-3/Nextend/Framework/Pattern/VisualManagerTrait.php
<?php


namespace Nextend\Framework\Pattern;


use Nextend\Framework\Plugin;

trait VisualManagerTrait {

    /** @var MVCHelperTrait */
    protected $MVCHelper;

    /**
     * StyleManager constructor.
     *
     * @param MVCHelperTrait $MVCHelper
     */
    public function __construct($MVCHelper) {
        $this->MVCHelper = $MVCHelper;

        Plugin::addAction('afterApplicationContent', array(
            $this,
            'display'
        ));
    }

    public abstract function display();

    /**
     * @param MVCHelperTrait $MVCHelper
     */
    public static function enqueue($MVCHelper) {
        static $enqueued;

        if (!$enqueued) {
            new self($MVCHelper);
            $enqueued = true;
        }
    }
}