Detailed Description
Default Response implementation.
Definition at line 23 of file DefaultResponse.php.
Public Member Functions | |
__construct (Formatter $formatter) | |
setRequest (Request $request) | |
getRequest () | |
setCacheId ($cacheId) | |
getCacheId () | |
setCacheLifetime ($seconds) | |
getCacheLifetime () | |
isCached () | |
getCacheDate () | |
setStatus ($status) | |
getStatus () | |
setFile ($filename, $isDownload, $content='', $type='') | |
getFile () | |
setDocument (ResponseDocument $document) | |
getDocument () | |
Additional Inherited Members |
Constructor & Destructor Documentation
◆ __construct()
__construct | ( | Formatter | $formatter | ) |
Constructor.
- Parameters
-
$formatter
Reimplemented from AbstractControllerMessage.
Definition at line 36 of file DefaultResponse.php.
Member Function Documentation
◆ setRequest()
setRequest | ( | Request | $request | ) |
- See also
- Response::setRequest()
Implements Response.
Definition at line 44 of file DefaultResponse.php.
◆ getRequest()
getRequest | ( | ) |
- See also
- Response::getRequest()
Implements Response.
Definition at line 54 of file DefaultResponse.php.
◆ setCacheId()
setCacheId | ( | $cacheId | ) |
- See also
- Response::setCacheId()
Implements Response.
Definition at line 61 of file DefaultResponse.php.
◆ getCacheId()
getCacheId | ( | ) |
- See also
- Response::getCacheId()
Implements Response.
Definition at line 68 of file DefaultResponse.php.
◆ setCacheLifetime()
setCacheLifetime | ( | $seconds | ) |
- See also
- Response::setCacheLifetime()
Implements Response.
Definition at line 75 of file DefaultResponse.php.
◆ getCacheLifetime()
getCacheLifetime | ( | ) |
- See also
- Response::getCacheLifetime()
Implements Response.
Definition at line 82 of file DefaultResponse.php.
◆ isCached()
isCached | ( | ) |
- See also
- Response::isCached()
Implements Response.
Definition at line 89 of file DefaultResponse.php.
◆ getCacheDate()
getCacheDate | ( | ) |
- See also
- Response::getCacheDate()
Implements Response.
Definition at line 97 of file DefaultResponse.php.
◆ setStatus()
setStatus | ( | $status | ) |
- See also
- Response::setStatus()
Implements Response.
Definition at line 105 of file DefaultResponse.php.
◆ getStatus()
getStatus | ( | ) |
- See also
- Response::getStatus()
Implements Response.
Definition at line 112 of file DefaultResponse.php.
◆ setFile()
setFile | ( | $filename, | |
$isDownload, | |||
$content = '' , |
|||
$type = '' |
|||
) |
- See also
- Response::setFile()
Implements Response.
Definition at line 119 of file DefaultResponse.php.
◆ getFile()
getFile | ( | ) |
- See also
- Response::getFile()
Implements Response.
Definition at line 129 of file DefaultResponse.php.
◆ setDocument()
setDocument | ( | ResponseDocument | $document | ) |
- See also
- Response::setDocument()
Implements Response.
Definition at line 144 of file DefaultResponse.php.
◆ getDocument()
getDocument | ( | ) |
- See also
- Response::getDocument()
Implements Response.
Definition at line 152 of file DefaultResponse.php.