Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/rocksensor3/web/modules/contrib/visitors/src/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/rocksensor3/web/modules/contrib/visitors/src/VisitorsVisibilityInterface.php

<?php

namespace Drupal\visitors;

use Drupal\Core\Session\AccountInterface;

/**
 * Interface for checking visitors visibility.
 */
interface VisitorsVisibilityInterface {

  /**
   * Path must not match to be tracked.
   */
  const PATH_EXCLUDE = 0;

  /**
   * Path must math to be tracked.
   */
  const PATH_INCLUDE = 1;

  /**
   * No customization allowed to the users.
   */
  const USER_NO_PERSONALIZATION = 0;

  /**
   * Customization allowed, tracking enabled by default.
   */
  const USER_OPT_OUT = 1;

  /**
   * Customization allowed, tracking disabled by default.
   */
  const USER_OPT_IN = 2;

  /**
   * Tracking visibility check for an user object.
   *
   * @param \Drupal\Core\Session\AccountInterface $account
   *   A user object containing an array of roles to check.
   *
   * @return bool
   *   TRUE if the current user is being tracked by Visitors, otherwise FALSE.
   */
  public function user(AccountInterface $account): bool;

  /**
   * Tracking visibility check for pages.
   *
   * @return bool
   *   TRUE if JS code should be added to the current page and otherwise FALSE.
   */
  public function page(): bool;

  /**
   * Tracking visibility check for user roles.
   *
   * @return bool
   *   TRUE if JS code should be added for the current role and otherwise FALSE.
   */
  public function isVisible(): bool;

  /**
   * Tracking visibility check for user roles.
   *
   * Based on visibility setting this function returns TRUE if Visitors code
   * should be added for the current role and otherwise FALSE.
   *
   * @param \Drupal\Core\Session\AccountInterface $account
   *   A user object containing an array of roles to check.
   *
   * @return bool
   *   TRUE if JS code should be added for the current role and otherwise FALSE.
   */
  public function roles(AccountInterface $account): bool;

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net