Laravel this is not only a practical framework, it is also a programming style
Hi i try this in my model
public static function truncate(){ /*my some code*/ static::truncate(); } MyModel::truncate();
but i get recursive call. How to organize it correctly?
Aucun commentaire:
Enregistrer un commentaire