Property | Type | Description | |
---|---|---|---|
$controllerMapping | context => controller mapping | ||
$em | Doctrine EntityManager | ||
$operationMapping | HTTP-method => operation mapping | ||
$view | output view | ||
$viewMapping | format => view mapping |
Method | Description | |
---|---|---|
__construct ( ) | Constructor | |
createEntityManager ( $admin = FALSE ) | Factory method for Doctrine EntityManager | |
handle ( |
Handle the request Source: Symfony\Component\HttpKernel\HttpKernel | |
handleRaw ( |
Determine context, format and uuid of the raw request | |
handler ( |
Processes the request |
Method | Description | |
---|---|---|
handleException ( Exception $e, |
Handles an exception by trying to convert it to a Response Source: Symfony\Component\HttpKernel\HttpKernel |
public static createEntityManager ( $admin = FALSE ) |
public handle ( |
||
$request | A Request instance | |
$type | integer | The type of the request (for Symfony compatibility, not implemented) |
$catch | boolean | Whether to catch exceptions or not |
return | A Response instance |
public handleRaw ( |
||
$request | A Request instance | |
$type | integer | The type of the request (for Symfony compatibility, not implemented) |
return | A Response instance |
public handler ( |
||
$request |
public static $controllerMapping |
public static $operationMapping |