X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Finterfaces%2Fclass_Customer.php;fp=application%2Fship-simu%2Finterfaces%2Fclass_Customer.php;h=a111b1418ade940878d655572d7f6a396e6ec5a9;hp=a49150e410faf0214fe7a2d4be3bf32b6dbdb292;hb=edc57038a9262e3a04572e0d9036a9f745b10fb7;hpb=b336cafb66b4a057b794fdf333bde6d8783ca6ca diff --git a/application/ship-simu/interfaces/class_Customer.php b/application/ship-simu/interfaces/class_Customer.php index a49150e..a111b14 100644 --- a/application/ship-simu/interfaces/class_Customer.php +++ b/application/ship-simu/interfaces/class_Customer.php @@ -12,7 +12,7 @@ interface Customer extends FrameworkInterface { * @param $contractInstance A valid instance to WorksContract * @return void */ - function addNewWorksContract (WorksContract $contractInstance); + function addNewWorksContract (SignableContract $contractInstance); /** * Signs a works contract. @@ -31,7 +31,7 @@ interface Customer extends FrameworkInterface { * set contract partner is * not the expected */ - function signContract (WorksContract $contractInstance, ContractPartner $partnerInstance); + function signContract (SignableContract $contractInstance, ContractPartner $partnerInstance); /** * Withdraw from a signed contract @@ -39,7 +39,7 @@ interface Customer extends FrameworkInterface { * @param $contractInstance A valid instance to WorksContract * @return void */ - function withdrawFromContract (WorksContract $contractInstance); + function withdrawFromContract (SignableContract $contractInstance); } // [EOF]