You are here

class DeletedUser in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_private_message/src/DeletedUser.php \Drupal\social_private_message\DeletedUser
  2. 8.2 modules/social_features/social_private_message/src/DeletedUser.php \Drupal\social_private_message\DeletedUser
  3. 8.3 modules/social_features/social_private_message/src/DeletedUser.php \Drupal\social_private_message\DeletedUser
  4. 8.4 modules/social_features/social_private_message/src/DeletedUser.php \Drupal\social_private_message\DeletedUser
  5. 8.5 modules/social_features/social_private_message/src/DeletedUser.php \Drupal\social_private_message\DeletedUser
  6. 8.6 modules/social_features/social_private_message/src/DeletedUser.php \Drupal\social_private_message\DeletedUser
  7. 8.8 modules/social_features/social_private_message/src/DeletedUser.php \Drupal\social_private_message\DeletedUser
  8. 10.3.x modules/social_features/social_private_message/src/DeletedUser.php \Drupal\social_private_message\DeletedUser
  9. 10.0.x modules/social_features/social_private_message/src/DeletedUser.php \Drupal\social_private_message\DeletedUser
  10. 10.1.x modules/social_features/social_private_message/src/DeletedUser.php \Drupal\social_private_message\DeletedUser
  11. 10.2.x modules/social_features/social_private_message/src/DeletedUser.php \Drupal\social_private_message\DeletedUser

Class DeletedUser.

@package Drupal\social_private_message

Hierarchy

Expanded class hierarchy of DeletedUser

1 file declares its use of DeletedUser
social_private_message.module in modules/social_features/social_private_message/social_private_message.module
The Social Privagte Message module.

File

modules/social_features/social_private_message/src/DeletedUser.php, line 10

Namespace

Drupal\social_private_message
View source
class DeletedUser {

  /**
   * The user ID.
   *
   * @var int
   */
  protected $id;

  /**
   * DeletedUser constructor.
   *
   * @param int $id
   *   The user ID.
   */
  public function __construct($id) {
    $this->id = $id;
  }

  /**
   * Get user ID.
   *
   * @return int
   *   The user ID.
   */
  public function id() {
    return $this->id;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
DeletedUser::$id protected property The user ID.
DeletedUser::id public function Get user ID.
DeletedUser::__construct public function DeletedUser constructor.