1 | <?php |
||
12 | class MessageServiceBaseJob implements ShouldQueue |
||
13 | { |
||
14 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
15 | |||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | protected $processParams; |
||
20 | |||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | protected $modelParams; |
||
25 | |||
26 | /** |
||
27 | * To user who receive message |
||
28 | * |
||
29 | * @var |
||
30 | */ |
||
31 | protected $to; |
||
32 | |||
33 | /** |
||
34 | * From user who send message |
||
35 | * |
||
36 | * @var |
||
37 | */ |
||
38 | protected $from; |
||
39 | |||
40 | /** |
||
41 | * Body of message |
||
42 | * |
||
43 | * @var |
||
44 | */ |
||
45 | protected $body; |
||
46 | |||
47 | /** |
||
48 | * Visibility of message when user watch to message box |
||
49 | * |
||
50 | * @var |
||
51 | */ |
||
52 | protected $invisible; |
||
53 | |||
54 | /** |
||
55 | * Id of process that call this event |
||
56 | * |
||
57 | * @var |
||
58 | */ |
||
59 | protected $processId; |
||
60 | |||
61 | /** |
||
62 | * This Job will be fired by a precess |
||
63 | * @param array $processParams |
||
64 | * @param array $modelParams |
||
65 | */ |
||
66 | public function __construct(array $processParams, array $modelParams) |
||
75 | |||
76 | /** |
||
77 | * Execute the job. |
||
78 | * |
||
79 | * @return void |
||
80 | */ |
||
81 | public function handle() |
||
85 | |||
86 | /** |
||
87 | * @param array $processParams |
||
88 | * @param array $modelParam |
||
89 | */ |
||
90 | public function initValues(array $processParams, array $modelParam) |
||
110 | |||
111 | /** |
||
112 | * @param array $processParams |
||
113 | * @param $modelParam |
||
114 | */ |
||
115 | public function initBody(array $processParams, $modelParam) |
||
131 | |||
132 | /** |
||
133 | * Store message into Alive Message table |
||
134 | */ |
||
135 | public function storeMessage() |
||
147 | |||
148 | } |
||
149 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.