@@ 42-48 (lines=7) @@ | ||
39 | * @access public |
|
40 | * @return array |
|
41 | */ |
|
42 | public function attributes() |
|
43 | { |
|
44 | return [ |
|
45 | '_id', 'chat_id', 'chat_title', 'user_id', 'username', 'avatar_16', |
|
46 | 'avatar_32', 'timestamp', 'message' |
|
47 | ]; |
|
48 | } |
|
49 | ||
50 | /** |
|
51 | * @inheritdoc |
@@ 34-40 (lines=7) @@ | ||
31 | * @access public |
|
32 | * @return array |
|
33 | */ |
|
34 | public function attributes() |
|
35 | { |
|
36 | return [ |
|
37 | 'id', 'chat_id', 'chat_title', 'user_id', 'username', 'avatar_16', |
|
38 | 'avatar_32', 'timestamp', 'message' |
|
39 | ]; |
|
40 | } |
|
41 | ||
42 | /** |
|
43 | * @inheritdoc |