protected static function updateConfigFile( $filename )
	{
		if( ( $content = file_get_contents( $filename ) ) === false ) {
			throw new \RuntimeException( sprintf( 'File "%1$s" not found', $filename ) );
		}

		if( self::addAsseticBundle( $content ) === true ) {
			$fs = new Filesystem();
			$fs->dumpFile( $filename, $content );
		}
	}
protected static function updateConfigFile( $filename )
	{
		if( ( $content = file_get_contents( $filename ) ) === false ) {
			throw new \RuntimeException( sprintf( 'File "%1$s" not found', $filename ) );
		}

		if( self::addAsseticBundle( $content ) === true ) {
			$fs = new Filesystem();
			$fs->dumpFile( $filename, $content );
		}
	}
protected static function updateConfigFile ( $ filename ) { if ( ( $ content = file_get_contents ( $ filename ) ) === false ) { throw new \ RuntimeException ( sprintf ( 'File "%1$s" not found' , $ filename ) ) ; } if ( self :: addAsseticBundle ( $ content ) === true ) { $ fs = new Filesystem ( ) ; $ fs -> dumpFile ( $ filename , $ content ) ; } }
Adds the Aimeos shop bundle to the config file of the application.

@param string $filename Name of the YAML config file
@throws \RuntimeException If file is not found
Adds the Aimeos shop bundle to the config file of the application .