Closed andresilvagomez closed 3 years ago
I think it is better to name it ->contentDisposition()
which will accept $type
as a parameter with values either inline
for view in browser or attachment
for download.
I don't think having both view and download actions have sense but you can achieve this by passing the $type
value as both
.
For sure this function needs implementation so PRs are welcome.
Thanks to @andresilvagomez Closed by #3
I wana to create a funtion like to this capture
what do you think is the best way to implement it?
maybe something like
->onlyView()
->onlyDownload()
<- this is the default maybe don't be appear->viewAndDownload()