PHP 클래스 Imbo\Http\Response\Response

저자: Christer Edvartsen ([email protected])
상속: extends Symfony\Component\HttpFoundation\Response
파일 보기 프로젝트 열기: imbo/imbo 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

getModel() 공개 메소드

Get the model instance
public getModel ( ) : null | ModelInterface
리턴 null | ModelInterface

setError() 공개 메소드

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
리턴 Response

setModel() 공개 메소드

Set the model instance
public setModel ( Imbo\Model\ModelInterface $model = null ) : Response
$model Imbo\Model\ModelInterface A model instance
리턴 Response

setNotModified() 공개 메소드

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