HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/grainesdfo/www/wp-content/plugins/easing-slider/src/Foundation/Admin/Actions/Actions.php
<?php

namespace EasingSlider\Foundation\Admin\Actions;

use EasingSlider\Foundation\Contracts\Admin\Actions\Actions as ActionsContract;
use EasingSlider\Foundation\Contracts\Admin\Notices\NoticeHandler;

/**
 * Exit if accessed directly
 */
if ( ! defined('ABSPATH')) {
	exit;
}

abstract class Actions implements ActionsContract
{
	/**
	 * Notices
	 *
	 * @var \EasingSlider\Foundation\Contracts\Admin\Notices\NoticeHandler
	 */
	protected $notices;

	/**
	 * Constructor
	 *
	 * @param  \EasingSlider\Foundation\Contracts\Admin\Notices\NoticeHandler $notices
	 * @return void
	 */
	public function __construct(NoticeHandler $notices)
	{
		$this->notices = $notices;

		$this->defineActions();
	}

	/**
	 * Defines our actions
	 *
	 * @return void
	 */
	abstract protected function defineActions();

	/**
	 * Gets a new validator instance
	 *
	 * @return array
	 */
	abstract protected function validator();
}