protected function generateManifestConfig(array $config): array
    {
        // Assign extension manifest option or provide the default value.
        return Collection::make($this->manifestOptions)->mapWithKeys(function ($default, $key) use ($config) {
            return [$key => ($config[$key] ?? $default)];
        })->all();
    }
protected function generateManifestConfig(array $config): array
    {
        // Assign extension manifest option or provide the default value.
        return Collection::make($this->manifestOptions)->mapWithKeys(function ($default, $key) use ($config) {
            return [$key => ($config[$key] ?? $default)];
        })->all();
    }
protected function generateManifestConfig ( array $ config ) : array { // Assign extension manifest option or provide the default value. return Collection :: make ( $ this -> manifestOptions ) -> mapWithKeys ( function ( $ default , $ key ) use ( $ config ) { return [ $ key => ( $ config [ $ key ] ?? $ default ) ] ; } ) -> all ( ) ; }
Generate a proper manifest configuration for the extension. This
would allow other part of the application to use this configuration
to migrate, load service provider as well as preload some
configuration.

@param  array  $config

@return array
Generate a proper manifest configuration for the extension . This would allow other part of the application to use this configuration to migrate load service provider as well as preload some configuration .