Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
ManaPHP
Http
ResponseInterface
setFileToSend
ManaPHP\Http\ResponseInterface::setFileToSend PHP Method
ResponseInterface Interface Documentation
Datei anzeigen
Open project: manaphp/manaphp
setFileToSend()
public
method
Sets an attached file to be sent at the end of the request
public
setFileToSend
(
string
$file
,
string
$attachmentName
= null ) :
static
$file
string
$attachmentName
string
return
static
public function setFileToSend($file, $attachmentName = null);
ResponseInterface
appendContent
getContent
redirect
send
sendHeaders
setAttachment
setContent
setContentType
setCsvContent
setExpires
setFileToSend
setHeader
setJsonContent
setNotModified
setRawHeader
setStatusCode