It seems like the GitHub access token used for retrieving details about this repository from
GitHub became invalid. This might prevent certain types of inspections from being run (in
particular,
everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
* @license https://github.com/nathanmac/Parser/blob/master/LICENSE.md MIT
13
*
14
* @method static array payload(string $format = '') Parse the HTTP payload data, autodetect format and return all data in array. Override the format by providing a content type.
15
*
16
* @method static array xml(string $payload) XML to Array
17
* @method static array json(string $payload) JSON to Array
18
* @method static array yaml(string $payload) YAML to Array
19
* @method static array querystr(string $payload) Query String to Array
20
* @method static array serialize(string $payload) Serialized Object to Array
21
* @method static array bson(string $payload) BSON to Array
22
* @method static array msgpack(string $payload) MSGPack to Array
23
*
24
* @method static array all() Alias to the payload function.
25
* @method static array get(string $key = null, string $default = null) Retrieve an payload item from the payload data, return default item if item not found.
26
* @method static array has(string|array $keys) Determine if the payload contains a non-empty value for a given key.
27
* @method static array only(string|array $keys) Get a subset of the items from the payload data.
28
* @method static array except(string|array $keys) Get all of the input except for a specified array of items.
29
*/
30
class Parser extends Facade
31
{
32
/**
33
* Get the registered name of the component.
34
*
35
* @return string
36
*/
37
protected static function getFacadeAccessor() { return 'Parser'; }