public function loadBundle($bundleName)
	{
		if (!preg_match('#^[A-Z][A-Za-z0-9]+$#D', $bundleName))
		{
			throw new InvalidArgumentException("Invalid bundle name '" . $bundleName . "'");
		}

		$className = __CLASS__ . '\\Bundles\\' . $bundleName;

		$bundle = new $className;
		$bundle->configure($this);
	}
public function loadBundle($bundleName)
	{
		if (!preg_match('#^[A-Z][A-Za-z0-9]+$#D', $bundleName))
		{
			throw new InvalidArgumentException("Invalid bundle name '" . $bundleName . "'");
		}

		$className = __CLASS__ . '\\Bundles\\' . $bundleName;

		$bundle = new $className;
		$bundle->configure($this);
	}
public function loadBundle ( $ bundleName ) { if ( ! preg_match ( '#^[A-Z][A-Za-z0-9]+$#D' , $ bundleName ) ) { throw new InvalidArgumentException ( "Invalid bundle name '" . $ bundleName . "'" ) ; } $ className = __CLASS__ . '\\Bundles\\' . $ bundleName ; $ bundle = new $ className ; $ bundle -> configure ( $ this ) ; }
Load a bundle into this configuration

@param  string $bundleName Name of the bundle
@return void
Load a bundle into this configuration