pimple service provider to configure bootstrap with event dispatcher.
simplify method.