Total Complexity | 6 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | |||
7 | class ChatController extends \BaseController { |
||
8 | |||
9 | /** |
||
10 | * @var LaravelRealtimeChat\Repositories\ConversationRepository |
||
11 | */ |
||
12 | private $conversationRepository; |
||
13 | |||
14 | /** |
||
15 | * @var LaravelRealtimeChat\Repositories\UserRepository |
||
16 | */ |
||
17 | private $userRepository; |
||
18 | |||
19 | public function __construct(ConversationRepository $conversationRepository, UserRepository $userRepository) |
||
20 | { |
||
21 | $this->conversationRepository = $conversationRepository; |
||
22 | $this->userRepository = $userRepository; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Display the chat index. |
||
27 | * |
||
28 | * @return Response |
||
29 | */ |
||
30 | public function index() { |
||
58 | } |
||
59 | } |
||
60 |