PHP Class Imbo\Http\Request\Request

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

Méthodes publiques

Méthode Description
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

Method Details

getExtension() public méthode

Get the current requested extension (if any)
public getExtension ( ) : string | null
Résultat string | null

getImage() public méthode

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

getImageIdentifier() public méthode

Get the image identifier from the URL
public getImageIdentifier ( ) : string | null
Résultat string | null

getPublicKey() public méthode

Get the public key found in the request
public getPublicKey ( ) : string
Résultat string

getRawUri() public méthode

Get the URI without the Symfony normalization applied to the query string, un-encoded
public getRawUri ( ) : string
Résultat string

getRoute() public méthode

Get the current route
public getRoute ( ) : Imbo\Router\Route
Résultat Imbo\Router\Route

getTransformations() public méthode

Get image transformations from the request
public getTransformations ( ) : array
Résultat array

getUriAsIs() public méthode

Get the URI with no changes to the incoming formatting ("as is")
public getUriAsIs ( ) : string
Résultat string

getUser() public méthode

Get the user found in the request
public getUser ( ) : string
Résultat string

getUsers() public méthode

Get users specified in the request
public getUsers ( ) : array
Résultat array Users specified in the request

setImage() public méthode

Set an image model
public setImage ( Image $image ) : Request
$image Imbo\Model\Image An image model instance
Résultat Request

setRoute() public méthode

Set the route
public setRoute ( Imbo\Router\Route $route ) : self
$route Imbo\Router\Route The current route
Résultat self

setTransformations() public méthode

Set the transformation chain
public setTransformations ( array $transformations ) : self
$transformations array The image transformations
Résultat self