HEX
Server: Apache
System: Linux webm006.cluster111.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: perditaeyz (838589)
PHP: 7.3.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/perditaeyz/www/wp-content/plugins/better-wp-security/core/lib/actor/User.php
<?php

namespace iThemesSecurity\Actor;

final class User implements Actor {

	/** @var \WP_User */
	private $user;

	/**
	 * User constructor.
	 *
	 * @param \WP_User $user
	 */
	public function __construct( \WP_User $user ) { $this->user = $user; }

	public function get_type() {
		return 'user';
	}

	public function get_identifier() {
		return (string) $this->user->ID;
	}

	public function __toString() {
		return $this->user->display_name;
	}
}