Aller au contenu principal
Accessibilité
Contraste
Zoom de texte
Police (dysléxie)
  Noir et Blanc
object stdClass(1)
public user -> Drupal\Core\Session\AnonymousUserSession(8)
  • contents
  • Static class properties (2)
  • Available methods (15)
  • protected uid -> integer0
    protected roles -> array(1)
    string(9) "anonymous"
    protected access -> NULL
    public name -> string(0) ""
    protected preferred_langcode -> NULL
    protected preferred_admin_langcode -> NULL
    protected mail -> NULL
    protected timezone -> NULL
  • constant ANONYMOUS_ROLE :: string(9) "anonymous"
    constant AUTHENTICATED_ROLE :: string(13) "authenticated"
  • public __construct()
    Constructs a new anonymous user session.
    
    Intentionally don't allow parameters to be passed in like UserSession.
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AnonymousUserSession.php:15
    public getAccountName()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:165
    public getDisplayName()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:172
    public getEmail()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:181
    public getLastAccessedTime()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:195
    public getPreferredAdminLangcode($fallback_to_default = true)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:144
    public getPreferredLangcode($fallback_to_default = true)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:131
    public getRoles($exclude_locked_roles = false)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:92
    public getTimeZone()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:188
    public getUsername()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:157
    public hasPermission($permission)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:105
    public id()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:85
    public isAnonymous()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:124
    public isAuthenticated()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:117
    protected getRoleStorage() -> \Drupal\user\RoleStorageInterface
    Returns the role storage object.
    
    @return \Drupal\user\RoleStorageInterface
    The role storage object.
    
    Inherited from Drupal\Core\Session\UserSession
    Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:205
Ajouter une sélection

Affiner votre recherche