protected function formatPackageStub(Package $package, $stub)
	{
		foreach (get_object_vars($package) as $key => $value)
		{
			$stub = str_replace('{{'.snake_case($key).'}}', $value, $stub);
		}
		
		return $stub;
	}
protected function formatPackageStub(Package $package, $stub)
	{
		foreach (get_object_vars($package) as $key => $value)
		{
			$stub = str_replace('{{'.snake_case($key).'}}', $value, $stub);
		}
		
		return $stub;
	}
protected function formatPackageStub ( Package $ package , $ stub ) { foreach ( get_object_vars ( $ package ) as $ key => $ value ) { $ stub = str_replace ( '{{' . snake_case ( $ key ) . '}}' , $ value , $ stub ) ; } return $ stub ; }
Format a generic package stub file.

@param  \Fly\Workbench\Package  $package
@param  string  $stub
@return string
Format a generic package stub file .