ChatUnit.php 356 B

12345678910111213141516171819202122
  1. <?php
  2. namespace App\View\Components;
  3. use Illuminate\View\Component;
  4. class ChatUnit extends Component
  5. {
  6. public $user;
  7. public $ticket;
  8. public function __construct($user, $ticket)
  9. {
  10. $this->user = $user;
  11. $this->ticket = $ticket;
  12. }
  13. public function render()
  14. {
  15. return view('components.chat-unit');
  16. }
  17. }