SecurityIdentityInterface

interface SecurityIdentityInterface

This interface provides an additional level of indirection, so that we can work with abstracted versions of security objects and do not have to save the entire objects.

Methods

equals(SecurityIdentityInterface $identity)

This method is used to compare two security identities in order to not rely on referential equality.

Details

equals(SecurityIdentityInterface $identity)

This method is used to compare two security identities in order to not rely on referential equality.

Parameters

SecurityIdentityInterface $identity

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Acl/Model/SecurityIdentityInterface.html