PHP Class Imbo\Http\Response\Response

Author: Christer Edvartsen ([email protected])
Inheritance: extends Symfony\Component\HttpFoundation\Response
Afficher le fichier Open project: imbo/imbo Class Usage Examples

Méthodes publiques

Méthode Description
getModel ( ) : null | ModelInterface Get the model instance
setError ( Error $error ) : Response Set an error model and update some parts of the response object
setModel ( Imbo\Model\ModelInterface $model = null ) : Response Set the model instance
setNotModified ( ) Marks the response as not modified as per the Symfony

Method Details

getModel() public méthode

Get the model instance
public getModel ( ) : null | ModelInterface
Résultat null | ModelInterface

setError() public méthode

Set an error model and update some parts of the response object
public setError ( Error $error ) : Response
$error Imbo\Model\Error An error model instance
Résultat Response

setModel() public méthode

Set the model instance
public setModel ( Imbo\Model\ModelInterface $model = null ) : Response
$model Imbo\Model\ModelInterface A model instance
Résultat Response

setNotModified() public méthode

Marks the response as not modified as per the Symfony
public setNotModified ( )