Symfony\Component\Security\Acl\Model\ObjectIdentityInterface
Represents the identity of an individual domain object instance.
- Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Synopsis
interface ObjectIdentityInterface
{
- // methods
- public Boolean equals()
- public string getIdentifier()
- public string getType()
Methods
public
- equals() — We specifically require this method so we can check for object equality explicitly, and do not have to rely on referencial equality instead.
- getIdentifier() — Obtains a unique identifier for this object. The identifier must not be re-used for other objects with the same type.
- getType() — Returns a type for the domain object. Typically, this is the PHP class name.