ArticleService.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. namespace App\Http\Services\V1;
  3. use App\Generated\V1\Messages\Article\GetArticlesMessage;
  4. use App\Generated\V1\Messages\Article\GetArticleMessage;
  5. use App\Generated\V1\Messages\Article\CreateArticleMessage;
  6. use App\Generated\V1\Messages\Article\GetArticleCommentsMessage;
  7. class ArticleService
  8. {
  9. public function getArticleComments(GetArticleCommentsMessage $message)
  10. {
  11. }
  12. public function createArticle(CreateArticleMessage $message)
  13. {
  14. }
  15. public function getArticle(GetArticleMessage $message)
  16. {
  17. }
  18. public function getArticles(GetArticlesMessage $message)
  19. {
  20. }
  21. }
  22. //use App\Generated\V1\Messages\Article\GetArticleCommentsMessage;
  23. //public function getArticleComments(GetArticleCommentsMessage $message)
  24. //{
  25. //}
  26. //use App\Generated\V1\Messages\Article\CreateArticleMessage;
  27. //public function createArticle(CreateArticleMessage $message)
  28. //{
  29. //}
  30. //use App\Generated\V1\Messages\Article\GetArticleMessage;
  31. //public function getArticle(GetArticleMessage $message)
  32. //{
  33. //}
  34. //use App\Generated\V1\Messages\Article\GetArticlesMessage;
  35. //public function getArticles(GetArticlesMessage $message)
  36. //{
  37. //}
  38. //use App\Generated\V1\Messages\Article\GetArticleCommentsMessage;
  39. //public function getArticleComments(GetArticleCommentsMessage $message)
  40. //{
  41. //}
  42. //use App\Generated\V1\Messages\Article\CreateArticleMessage;
  43. //public function createArticle(CreateArticleMessage $message)
  44. //{
  45. //}
  46. //use App\Generated\V1\Messages\Article\GetArticleMessage;
  47. //public function getArticle(GetArticleMessage $message)
  48. //{
  49. //}
  50. //use App\Generated\V1\Messages\Article\GetArticlesMessage;
  51. //public function getArticles(GetArticlesMessage $message)
  52. //{
  53. //}