]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/interfaces/class_ContractPartner.php
(no commit message)
[shipsimu.git] / application / ship-simu / interfaces / class_ContractPartner.php
diff --git a/application/ship-simu/interfaces/class_ContractPartner.php b/application/ship-simu/interfaces/class_ContractPartner.php
new file mode 100644 (file)
index 0000000..9b1bb8c
--- /dev/null
@@ -0,0 +1,20 @@
+<?php
+/**
+ * An interface for contract partners
+ *
+ * @author     Roland Haeder <roland __NOSPAM__ [at] __REMOVE_ME__ mxchange [dot] org>
+ * @version    0.1
+ */
+interface ContractPartner extends FrameworkInterface {
+       /**
+        * This is a contract partner
+        *
+        * @param               $contractInstance       Must be a valid instance of WorksContract
+        * @return      boolean                 true  = can be a contract partner,
+        *                                                      false = no partner for contracts
+        */
+       function isContractPartner (WorksContract $contractInstance);
+}
+
+// [EOF]
+?>