Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/bamagocr/wp-content/plugins/gravityforms/includes/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/bamagocr/wp-content/plugins/gravityforms/includes/assets/class-gf-dependencies.php
<?php

namespace Gravity_Forms\Gravity_Forms\Assets;

abstract class GF_Dependencies {

	/**
	 * Items to enqueue
	 *
	 * @since 2.6
	 *
	 * @var array
	 */
	protected $items = array();

	/**
	 * The method for actually enqueueing the items.
	 *
	 * @since 2.6
	 *
	 * @param $handle
	 *
	 * @return mixed
	 */
	abstract protected function do_enqueue( $handle );

	/**
	 * Get the dependency items.
	 *
	 * @since 2.6
	 *
	 * @return array
	 */
	public function get_items() {
		return $this->items;
	}

	/**
	 * Enqueue the items.
	 *
	 * @since 2.6
	 *
	 * @param $items
	 */
	public function enqueue() {
		if ( ! $this->should_enqueue() ) {
			return;
		}

		foreach ( $this->items as $handle ) {
			$this->do_enqueue( $handle );
		}
	}

	/**
	 * Override to determine whether the assets outlined should be enqueued.
	 *
	 * @since 2.6
	 *
	 * @return bool
	 */
	protected function should_enqueue() {
		return true;
	}

}

Hry