src/classes/CCResponse.php
public static function download( $body, $filename = null, $status = 200 ) 
	{
		return static::create( $body, $status )->as_download( $filename );
	}
public static function download( $body, $filename = null, $status = 200 ) 
	{
		return static::create( $body, $status )->as_download( $filename );
	}
public static function download ( $ body , $ filename = null , $ status = 200 ) { return static :: create ( $ body , $ status ) -> as_download ( $ filename ) ; }
download response
creates an respose that forces the browser to download as file

@param string 		$body
@param string 		$filename
@param int			$status
@return CCResponse
download response creates an respose that forces the browser to download as file