Méthode | Description | |
---|---|---|
__construct ( ) : void | Constructor. | |
getOperation ( ) : string | Get current operation. | |
getParam ( string $param, string $default = '' ) : string | Get a request parameter. | |
isJsonApiCall ( ) : boolean | If we are in a JSON API context. | |
setInputStream ( string $input ) | Override the default input stream source, used for unit testing. |
Méthode | Description | |
---|---|---|
_detectJsonRequest ( ) : boolean | detect the clients supported media type and decide if its a JSON API call or not |
public getOperation ( ) : string | ||
Résultat | string |
public isJsonApiCall ( ) : boolean | ||
Résultat | boolean |
public static setInputStream ( string $input ) | ||
$input | string |