summaryrefslogtreecommitdiffstats
path: root/Acl/Model/ObjectIdentityRetrievalStrategyInterface.php
blob: 4709294f8b270548d77b767a5102912fb591f541 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace Symfony\Component\Security\Acl\Model;

/**
 * Retrieves the object identity for a given domain object
 *
 * @author Johannes M. Schmitt <schmittjoh@gmail.com>
 */
interface ObjectIdentityRetrievalStrategyInterface
{
    /**
     * Retrievies the object identity from a domain object
     *
     * @param object $domainObject
     * @return ObjectIdentityInterface
     */
    function getObjectIdentity($domainObject);
}