@@ -23,7 +23,7 @@ class UserModel extends Model
2323
2424 // ...
2525
26- public function initialize()
26+ protected function initialize()
2727 {
2828 $this->initRelations();
2929 }
@@ -56,7 +56,7 @@ class UserModel extends Model
5656
5757 // ...
5858
59- public function initialize()
59+ protected function initialize()
6060 {
6161 $this->initRelations();
6262 }
@@ -89,7 +89,7 @@ class PostModel extends Model
8989
9090 // ...
9191
92- public function initialize()
92+ protected function initialize()
9393 {
9494 $this->initRelations();
9595 }
@@ -181,7 +181,7 @@ class UserModel extends Model
181181
182182 // ...
183183
184- public function initialize()
184+ protected function initialize()
185185 {
186186 $this->initRelations();
187187 }
@@ -231,7 +231,7 @@ class CountryModel extends Model
231231
232232 // ...
233233
234- public function initialize()
234+ protected function initialize()
235235 {
236236 $this->initRelations();
237237 }
@@ -273,7 +273,7 @@ class StudentModel extends Model
273273
274274 // ...
275275
276- public function initialize()
276+ protected function initialize()
277277 {
278278 $this->initRelations();
279279 }
@@ -291,7 +291,7 @@ class CourseModel extends Model
291291
292292 // ...
293293
294- public function initialize()
294+ protected function initialize()
295295 {
296296 $this->initRelations();
297297 }
0 commit comments