protected function registerAssetsManagerInstance($name, array $config)
	{
		$this->app->singleton("stolz.assets.group.$name", function ($app) use ($config) {

			if( ! isset($config['public_dir']))
				$config['public_dir'] = public_path();

			return new Assets($config);
		});
	}
protected function registerAssetsManagerInstance($name, array $config)
	{
		$this->app->singleton("stolz.assets.group.$name", function ($app) use ($config) {

			if( ! isset($config['public_dir']))
				$config['public_dir'] = public_path();

			return new Assets($config);
		});
	}
protected function registerAssetsManagerInstance ( $ name , array $ config ) { $ this -> app -> singleton ( "stolz.assets.group.$name" , function ( $ app ) use ( $ config ) { if ( ! isset ( $ config [ 'public_dir' ] ) ) $ config [ 'public_dir' ] = public_path ( ) ; return new Assets ( $ config ) ; } ) ; }
Register an instance of the assets manager library in the IoC container.

@param  string $name   Name of the group
@param  array  $config Config of the group

@return void
Register an instance of the assets manager library in the IoC container .