config = $config; } /** * Register the server provider. * * @return void */ public function register() { $this->getContainer()->share('Intervention\Image\ImageManager', function () { return new ImageManager($this->config); }); } }