@@ 49-57 (lines=9) @@ | ||
46 | ]); |
|
47 | } |
|
48 | ||
49 | public function getObj() |
|
50 | { |
|
51 | return Yii::createObject([ |
|
52 | 'class' => Obj::class, |
|
53 | 'id' => $this->object_id, |
|
54 | 'name' => $this->name, |
|
55 | 'class_name' => $this->object, |
|
56 | ]); |
|
57 | } |
|
58 | } |
|
59 |
@@ 66-74 (lines=9) @@ | ||
63 | ]); |
|
64 | } |
|
65 | ||
66 | public function getObj() |
|
67 | { |
|
68 | return Yii::createObject([ |
|
69 | 'class' => Obj::class, |
|
70 | 'id' => $this->id, |
|
71 | 'name' => $this->name, |
|
72 | 'class_name' => $this->object, |
|
73 | ]); |
|
74 | } |
|
75 | } |
|
76 |