Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Identity.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\SPI\User;
8
18 interface Identity
19 {
25 public function addInformation(array $information);
26
33 public function setInformation($informationName, $informationValue);
34
40 public function replaceInformation(array $information);
41
47 public function getInformation();
48
54 public function getHash();
55 }
eZ\Publish\SPI\User\Identity
Interface for a user identity.
Definition: Identity.php:19
eZ\Publish\SPI\User\Identity\getHash
getHash()
Returns the hash of the current identity (e.g.
eZ\Publish\SPI\User\Identity\setInformation
setInformation($informationName, $informationValue)
Registers an information in the identity.
eZ\Publish\SPI\User\Identity\replaceInformation
replaceInformation(array $information)
Replaces the information already registered in the identity.
eZ\Publish\SPI\User\Identity\getInformation
getInformation()
Returns registered information.
eZ\Publish\SPI\User\Identity\addInformation
addInformation(array $information)
Registers several pieces of information in the identity.
eZ\Publish\SPI\User
Definition: Identity.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.