public function saveBundle($className, $filepath, array $options = [])
	{
		$file = "<?php\n\n" . $this->bundleGenerator->generate($className, $options);

		return (file_put_contents($filepath, $file) !== false);
	}
public function saveBundle($className, $filepath, array $options = [])
	{
		$file = "<?php\n\n" . $this->bundleGenerator->generate($className, $options);

		return (file_put_contents($filepath, $file) !== false);
	}
public function saveBundle ( $ className , $ filepath , array $ options = [ ] ) { $ file = "<?php\n\n" . $ this -> bundleGenerator -> generate ( $ className , $ options ) ; return ( file_put_contents ( $ filepath , $ file ) !== false ) ; }
Create and save a bundle based on this configuration

@param  string $className Name of the bundle class
@param  string $filepath  Path where to save the bundle file
@param  array  $options   Options passed to the bundle generator
@return bool              Whether the write succeeded
Create and save a bundle based on this configuration