summaryrefslogtreecommitdiffstats
path: root/Acl/Model/ObjectIdentityRetrievalStrategyInterface.php
diff options
context:
space:
mode:
authorJohannes Schmitt <schmittjoh@gmail.com>2010-12-14 16:43:40 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2010-12-31 09:25:53 +0100
commit3bd275eddbee11dbc787eecf73c3b62fce815cbc (patch)
treee1e5727a201fb4b420a28ebb1cbec9ddd0ce1448 /Acl/Model/ObjectIdentityRetrievalStrategyInterface.php
parent5853e1f130f888bfe2e5e5830ed930218cfe693b (diff)
downloadsymfony-security-3bd275eddbee11dbc787eecf73c3b62fce815cbc.zip
symfony-security-3bd275eddbee11dbc787eecf73c3b62fce815cbc.tar.gz
symfony-security-3bd275eddbee11dbc787eecf73c3b62fce815cbc.tar.bz2
added ACL system to the Security Component
Diffstat (limited to 'Acl/Model/ObjectIdentityRetrievalStrategyInterface.php')
-rw-r--r--Acl/Model/ObjectIdentityRetrievalStrategyInterface.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/Acl/Model/ObjectIdentityRetrievalStrategyInterface.php b/Acl/Model/ObjectIdentityRetrievalStrategyInterface.php
new file mode 100644
index 0000000..4709294
--- /dev/null
+++ b/Acl/Model/ObjectIdentityRetrievalStrategyInterface.php
@@ -0,0 +1,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);
+} \ No newline at end of file