# Stream

trait Stream

## Methods

void
streamFile(string $filePath, string $callback = '')

Open and stream a file

void
download(string $filePath)

Download somae file

## Details

###
at line 22
`void streamFile(string $filePath, string $callback = '')`

Open and stream a file

#### Parameters

string | $filePath |
string | $callback |

#### Return Value

void |

###
at line 54
`void download(string $filePath)`

Download somae file

#### Parameters

string | $filePath |

#### Return Value

void |