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; } } }