Permalink
Browse files

建立 LogisticsInterface

  • Loading branch information...
1 parent 6eb814f commit 24aa08e727caa463edaad771ea221687ad9ee22f Sam.IO.Hsiao committed Nov 18, 2016
Showing with 15 additions and 0 deletions.
  1. +15 −0 app/Services/LogisticsInterface.php
@@ -0,0 +1,15 @@
+<?php
+
+declare(strict_types = 1);
+
+namespace App\Services;
+
+interface LogisticsInterface
+{
+ /**
+ * 計算運費
+ * @param int $weight
+ * @return int
+ */
+ public function calculateFee(int $weight) : int;
+}

0 comments on commit 24aa08e

Please sign in to comment.