PHP 클래스 Imbo\Http\Request\Request

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

공개 메소드들

메소드 설명
getExtension ( ) : string | null Get the current requested extension (if any)
getImage ( ) : null | Image Get an image model attached to the request (on POST)
getImageIdentifier ( ) : string | null Get the image identifier from the URL
getPublicKey ( ) : string Get the public key found in the request
getRawUri ( ) : string Get the URI without the Symfony normalization applied to the query string, un-encoded
getRoute ( ) : Imbo\Router\Route Get the current route
getTransformations ( ) : array Get image transformations from the request
getUriAsIs ( ) : string Get the URI with no changes to the incoming formatting ("as is")
getUser ( ) : string Get the user found in the request
getUsers ( ) : array Get users specified in the request
setImage ( Image $image ) : Request Set an image model
setRoute ( Imbo\Router\Route $route ) : self Set the route
setTransformations ( array $transformations ) : self Set the transformation chain

메소드 상세

getExtension() 공개 메소드

Get the current requested extension (if any)
public getExtension ( ) : string | null
리턴 string | null

getImage() 공개 메소드

Get an image model attached to the request (on POST)
public getImage ( ) : null | Image
리턴 null | Imbo\Model\Image

getImageIdentifier() 공개 메소드

Get the image identifier from the URL
public getImageIdentifier ( ) : string | null
리턴 string | null

getPublicKey() 공개 메소드

Get the public key found in the request
public getPublicKey ( ) : string
리턴 string

getRawUri() 공개 메소드

Get the URI without the Symfony normalization applied to the query string, un-encoded
public getRawUri ( ) : string
리턴 string

getRoute() 공개 메소드

Get the current route
public getRoute ( ) : Imbo\Router\Route
리턴 Imbo\Router\Route

getTransformations() 공개 메소드

Get image transformations from the request
public getTransformations ( ) : array
리턴 array

getUriAsIs() 공개 메소드

Get the URI with no changes to the incoming formatting ("as is")
public getUriAsIs ( ) : string
리턴 string

getUser() 공개 메소드

Get the user found in the request
public getUser ( ) : string
리턴 string

getUsers() 공개 메소드

Get users specified in the request
public getUsers ( ) : array
리턴 array Users specified in the request

setImage() 공개 메소드

Set an image model
public setImage ( Image $image ) : Request
$image Imbo\Model\Image An image model instance
리턴 Request

setRoute() 공개 메소드

Set the route
public setRoute ( Imbo\Router\Route $route ) : self
$route Imbo\Router\Route The current route
리턴 self

setTransformations() 공개 메소드

Set the transformation chain
public setTransformations ( array $transformations ) : self
$transformations array The image transformations
리턴 self