Support the ongoing development of Laravel.io →

hiraq

Joined 9 Mar 2014

Statistics

Threads 2
Replies 1
Solutions 1
Articles 0

Model Observer And Events When Create

There are two ways to create new record in laravel $model = new MyModel; $model->field1 = 'value1...

Likes Replies
Solved

[Unit Test] Progressive unit test for uploaded files with validation

how is exactly build a unit test for uploaded files ? i have use a $this->call(<method>,<...

Likes Replies
replied 8 years ago

Model Observer And Events When Create

never mind, this caused by mass assignment, when i set fillable property it works now

0 Likes
Solved

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.