summaryrefslogtreecommitdiffstats
path: root/Acl/Model/FieldEntryInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'Acl/Model/FieldEntryInterface.php')
-rw-r--r--Acl/Model/FieldEntryInterface.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/Acl/Model/FieldEntryInterface.php b/Acl/Model/FieldEntryInterface.php
new file mode 100644
index 0000000..68aa10c
--- /dev/null
+++ b/Acl/Model/FieldEntryInterface.php
@@ -0,0 +1,27 @@
+<?php
+
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Symfony\Component\Security\Acl\Model;
+
+/**
+ * Interface for entries which are restricted to specific fields
+ *
+ * @author Johannes M. Schmitt <schmittjoh@gmail.com>
+ */
+interface FieldEntryInterface extends EntryInterface
+{
+ /**
+ * Returns the field used for this entry.
+ *
+ * @return string
+ */
+ function getField();
+} \ No newline at end of file