MemoryDocument Class Reference

Detailed Description

MemoryDocument represents content that resides in memory.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 18 of file MemoryDocument.php.

+ Inheritance diagram for MemoryDocument:

Public Member Functions

 __construct ($content, $mimeType, $isDownload, $filename)
 
 getContent ()
 
 output ()
 
- Public Member Functions inherited from AbstractDocument
 __construct ($mimeType, $isDownload, $filename)
 
 getMimeType ()
 
 isDownload ()
 
 getFilename ()
 
 getCacheDate ()
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $content,
  $mimeType,
  $isDownload,
  $filename 
)

Constructor.

Parameters
$content
$mimeType
$isDownload
$filename

Definition at line 29 of file MemoryDocument.php.

Member Function Documentation

◆ getContent()

getContent ( )
See also
ResponseDocument::getContent()

Implements ResponseDocument.

Definition at line 37 of file MemoryDocument.php.

◆ output()

output ( )
See also
ResponseDocument::output()

Implements ResponseDocument.

Definition at line 44 of file MemoryDocument.php.