bootIfNotBooted() protected méthode

Check if the model needs to be booted and if so, do it.
protected bootIfNotBooted ( ) : void
Résultat void
Exemple #1
0
 protected function bootIfNotBooted()
 {
     $this->i18n_default_locale = Session::get("language", "en");
     parent::bootIfNotBooted();
 }