parent::boot () 方法何时需要用呢?
看到有的Eloquent模型里boot方法里用了parent::boot(),上网查只说到"make the model booted",那booted后的模型有什么用呢?
推荐文章: