Slide 26
Slide 26 text
Few more container goodies
4 You can bind anything into the container, something as
simple as a dynamic key-value pair:
app()->bind('random-string', function ($app, $params) {
return str_random($params['length']);
});
// app()->makeWith('random-string', ['length' => 5]);
4 Easily Swap Implementations.
@introwit 26