PHP Class Bolt\Response\TemplateResponse

Author: Gawain Lynch ([email protected])
Inheritance: extends Symfony\Component\HttpFoundation\Response
Mostrar archivo Open project: bolt/bolt Class Usage Examples

Protected Properties

Property Type Description
$context array
$globals array
$template Twig_Template

Public Methods

Method Description
getContext ( ) : array
getGlobals ( ) : array
getTemplate ( ) : Twig_Template
setContext ( array $context ) : TemplateResponse
setGlobals ( array $globals ) : TemplateResponse
setTemplate ( Twig_Template $template ) : TemplateResponse

Method Details

getContext() public method

public getContext ( ) : array
return array

getGlobals() public method

public getGlobals ( ) : array
return array

getTemplate() public method

public getTemplate ( ) : Twig_Template
return Twig_Template

setContext() public method

public setContext ( array $context ) : TemplateResponse
$context array
return TemplateResponse

setGlobals() public method

public setGlobals ( array $globals ) : TemplateResponse
$globals array
return TemplateResponse

setTemplate() public method

public setTemplate ( Twig_Template $template ) : TemplateResponse
$template Twig_Template
return TemplateResponse

Property Details

$context protected_oe property

protected array $context
return array

$globals protected_oe property

protected array $globals
return array

$template protected_oe property

protected Twig_Template $template
return Twig_Template