You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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()
The text was updated successfully, but these errors were encountered: