Response

Munee Response Class

author

Cody Lundquist

Methods

Constructor

__construct(object $AssetType) 
throws

Arguments

$AssetType

object

Set controller for setting headers.

setHeaderController(object $headerController) : self
throws

Arguments

$headerController

object

Response

self

Set Headers for Response

setHeaders() : self
throws

Response

self

Returns the Asset Types content.

render() : string

It will try and use Gzip to compress the content and save bandwidth

Response

string

Properties

Used to check if the request is Not Modified so Munee can return 304 if that is the case

notModified
var

Instance of a Asset\HeaderSetter class

headerController
var

Instance of a Asset\Type dynamically instantiated in the Constructor

assetType
var