src/Providers/BaseServiceProvider.php
protected static function bootTraits()
	{
		foreach (class_uses_recursive(get_called_class()) as $trait) {
			if (method_exists(get_called_class(), $method = 'boot'.class_basename($trait))) {
				forward_static_call([get_called_class(), $method]);
				//$this->$method();
			}
		}
	}
protected static function bootTraits()
	{
		foreach (class_uses_recursive(get_called_class()) as $trait) {
			if (method_exists(get_called_class(), $method = 'boot'.class_basename($trait))) {
				forward_static_call([get_called_class(), $method]);
				//$this->$method();
			}
		}
	}
protected static function bootTraits ( ) { foreach ( class_uses_recursive ( get_called_class ( ) ) as $ trait ) { if ( method_exists ( get_called_class ( ) , $ method = 'boot' . class_basename ( $ trait ) ) ) { forward_static_call ( [ get_called_class ( ) , $ method ] ) ; //$this->$method();
 } } }
Boot all of the bootable traits on the ServiceProvider.

@return void
Boot all of the bootable traits on the ServiceProvider .