Overview

Namespaces

  • PHP
  • ProgrammingAreHard
    • Arbiter
      • Domain
      • Model
  • Symfony
    • Component
      • Security
        • Acl
          • Exception
          • Model
          • Permission
        • Core
          • User

Interfaces

  • AclCacheInterface
  • AclInterface
  • AclProviderInterface
  • AuditableAclInterface
  • AuditableEntryInterface
  • AuditLoggerInterface
  • DomainObjectInterface
  • EntryInterface
  • FieldEntryInterface
  • MutableAclInterface
  • MutableAclProviderInterface
  • ObjectIdentityInterface
  • ObjectIdentityRetrievalStrategyInterface
  • PermissionGrantingStrategyInterface
  • SecurityIdentityInterface
  • SecurityIdentityRetrievalStrategyInterface
  • Overview
  • Namespace
  • Class
  • Tree

Interface ObjectIdentityInterface

Represents the identity of an individual domain object instance.

Namespace: Symfony\Component\Security\Acl\Model
Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Located at ObjectIdentityInterface.php
Methods summary
public boolean
# equals( Symfony\Component\Security\Acl\Model\ObjectIdentityInterface $identity )

We specifically require this method so we can check for object equality explicitly, and do not have to rely on referencial equality instead.

We specifically require this method so we can check for object equality explicitly, and do not have to rely on referencial equality instead.

Though in most cases, both checks should result in the same outcome.

Referential Equality: $object1 === $object2 Example for Object Equality: $object1->getId() === $object2->getId()

Parameters

$identity
Symfony\Component\Security\Acl\Model\ObjectIdentityInterface
$identity

Returns

boolean
public string
# getIdentifier( )

Obtains a unique identifier for this object. The identifier must not be re-used for other objects with the same type.

Obtains a unique identifier for this object. The identifier must not be re-used for other objects with the same type.

Returns

string
cannot return null
public string
# getType( )

Returns a type for the domain object. Typically, this is the PHP class name.

Returns a type for the domain object. Typically, this is the PHP class name.

Returns

string
cannot return null
Arbiter API documentation generated by ApiGen 2.8.0