protected static function addAsseticBundle( &$content )
	{
		if( preg_match( "/    bundles:[ ]*\[.*'AimeosShopBundle'.*\]/", $content ) !== 1 )
		{
			$search = array( "/    bundles:[ ]*\[([^\]]+)\]/", "/    bundles:[ ]*\[([ ]*)\]/" );
			$replace = array( "    bundles: [$1,'AimeosShopBundle']", "    bundles: ['AimeosShopBundle']" );

			if( ( $content = preg_replace( $search, $replace, $content ) ) !== null ) {
				return true;
			}
		}

		return false;
	}
protected static function addAsseticBundle( &$content )
	{
		if( preg_match( "/    bundles:[ ]*\[.*'AimeosShopBundle'.*\]/", $content ) !== 1 )
		{
			$search = array( "/    bundles:[ ]*\[([^\]]+)\]/", "/    bundles:[ ]*\[([ ]*)\]/" );
			$replace = array( "    bundles: [$1,'AimeosShopBundle']", "    bundles: ['AimeosShopBundle']" );

			if( ( $content = preg_replace( $search, $replace, $content ) ) !== null ) {
				return true;
			}
		}

		return false;
	}
protected static function addAsseticBundle ( & $ content ) { if ( preg_match ( "/    bundles:[ ]*\[.*'AimeosShopBundle'.*\]/" , $ content ) !== 1 ) { $ search = array ( "/    bundles:[ ]*\[([^\]]+)\]/" , "/    bundles:[ ]*\[([ ]*)\]/" ) ; $ replace = array ( "    bundles: [$1,'AimeosShopBundle']" , "    bundles: ['AimeosShopBundle']" ) ; if ( ( $ content = preg_replace ( $ search , $ replace , $ content ) ) !== null ) { return true ; } } return false ; }
Adds the AimeosShopBundle to the assetic section of the config file

@param string &$content Content of the config.yml file
@return boolean True if modified, false if not
Adds the AimeosShopBundle to the assetic section of the config file