bootIfNotBooted() protected method

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