Add EmailLogListPage
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IStorableObject.class.php
index 875a6518f88de178c97967d673cdfa08689a87fd..e3f3e7d2ffd0dde1684424aa20f7e4201ca3f8d4 100644 (file)
@@ -1,65 +1,67 @@
 <?php
+
 namespace wcf\data;
 
 /**
  * Abstract class for all data holder classes.
- * 
- * @author     Marcel Werk
- * @copyright  2001-2019 WoltLab GmbH
- * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package    WoltLabSuite\Core\Data
+ *
+ * @author  Marcel Werk
+ * @copyright   2001-2019 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\Data
  */
-interface IStorableObject {
-       /**
-        * Returns the value of a object data variable with the given name or `null` if no
-        * such data variable exists.
-        * 
-        * @param       string          $name
-        * @return      mixed
-        */
-       public function __get($name);
-       
-       /**
-        * Determines if the object data variable with the given name is set and
-        * is not NULL.
-        * 
-        * @param       string          $name
-        * @return      boolean
-        */
-       public function __isset($name);
-       
-       /**
-        * Returns the value of all object data variables.
-        * 
-        * @return      mixed[]
-        */
-       public function getData();
-       
-       /**
-        * Returns the name of the database table.
-        * 
-        * @return      string
-        */
-       public static function getDatabaseTableName();
-       
-       /**
-        * Returns the alias of the database table.
-        * 
-        * @return      string
-        */
-       public static function getDatabaseTableAlias();
-       
-       /**
-        * Returns true if database table index is an identity column.
-        * 
-        * @return      boolean
-        */
-       public static function getDatabaseTableIndexIsIdentity();
-       
-       /**
-        * Returns the name of the database table index.
-        * 
-        * @return      string
-        */
-       public static function getDatabaseTableIndexName();
+interface IStorableObject
+{
+    /**
+     * Returns the value of a object data variable with the given name or `null` if no
+     * such data variable exists.
+     *
+     * @param string $name
+     * @return  mixed
+     */
+    public function __get($name);
+
+    /**
+     * Determines if the object data variable with the given name is set and
+     * is not NULL.
+     *
+     * @param string $name
+     * @return  bool
+     */
+    public function __isset($name);
+
+    /**
+     * Returns the value of all object data variables.
+     *
+     * @return  mixed[]
+     */
+    public function getData();
+
+    /**
+     * Returns the name of the database table.
+     *
+     * @return  string
+     */
+    public static function getDatabaseTableName();
+
+    /**
+     * Returns the alias of the database table.
+     *
+     * @return  string
+     */
+    public static function getDatabaseTableAlias();
+
+    /**
+     * Returns true if database table index is an identity column.
+     *
+     * @return  bool
+     */
+    public static function getDatabaseTableIndexIsIdentity();
+
+    /**
+     * Returns the name of the database table index.
+     *
+     * @return  string
+     */
+    public static function getDatabaseTableIndexName();
 }