f1fa6af03d2c2e394f4114014871b92cf6f2eb2c
[shipsimu.git] / ship-simu / inc / classes / interfaces / extended / class_LimitableObject.php
1 <?php
2 /**
3  * This is an inface for limiting object while saving them with the
4  * DatabaseConnection class.
5  *
6  * @author      Roland Haeder <roland __NOSPAM__ [at] __REMOVE_ME__ mxchange [dot] org>
7  * @version     0.1
8  */
9 interface LimitableObject extends FrameworkInterface {
10         /**
11          * Reduces the volume of a processed object.
12          *
13          * @param               $limitInstance          An instance to ObjectLimits which holds
14          *                                                      attribute names that we want to include
15          *                                                      in the processing phase. Other attributes
16          *                                                      except $uniqueID and $realClass will be
17          *                                                      ignored and keept out.
18          * @return      void
19          */
20         function limitObject (ObjectLimits $limitInstance);
21 }
22
23 // [EOF]
24 ?>