how it works? It is called when the framework instantiates an eloquent model.
Sep 5, 2020
5
Level 3
What is boot in Model
I would like to know how boot method works in Model classes but I dont see it in documentation. Can somebody give me a link to doc?
class Product extends Model
{
protectd static function boot()
{
}
}
Level 122
no,does not look correct but just because something has the name controller it does not mean it is one. Someone could have used this as somewhere to dump some code because they did not know any better
Please or to participate in this conversation.