Permalink
Browse files

自動複寫 class 的 method

  • Loading branch information...
1 parent 9db85e7 commit 0766384172f9df83539dfb17600e401b2ff96686 Sam.IO.Hsiao committed Jul 28, 2016
Showing with 16 additions and 0 deletions.
  1. +16 −0 app/Services/AzurePostService.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace App\Services;
+
+class AzurePostService extends PostService
+{
+ /**
+ * @param int $id
+ * @param string $default
+ * @return string
+ */
+ public function showTitle(int $id, string $default) : string
+ {
+ return parent::showTitle($id, $default); // TODO: Change the autogenerated stub
+ }
+}

0 comments on commit 0766384

Please sign in to comment.