GetEachLikeContactsMessage.php 688 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace App\Generated\V1_1\Messages\Friend;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\Http\Messages\Message;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. use App\Generated\V1_1\DTOs\ListFriendDTO;
  7. class GetEachLikeContactsMessage extends Message
  8. {
  9. use ValueHelper;
  10. protected $listFriend;
  11. public function requestRules()
  12. {
  13. return [
  14. ];
  15. }
  16. public function responseRules()
  17. {
  18. return [
  19. ['listFriend', 'listFriend', ListFriendDTO::class, Constants::MODEL | Constants::ARRAY, null],
  20. ];
  21. }
  22. public function setResponse($listFriend)
  23. {
  24. $this->listFriend = $listFriend;
  25. }
  26. }