Input
in package
Input class.
Tags
Table of Contents
Properties
- $httpAcceptContentTypes : array<string|int, mixed>
- $Container : Container
- $httpAcceptContentTypes : array<string|int, mixed>
Methods
- __construct() : mixed
- Class constructor.
- __get() : mixed
- Magic get.
- determineAcceptContentType() : string
- Determine HTTP accept content-type.
Properties
$httpAcceptContentTypes read-only
public
array<string|int, mixed>
$httpAcceptContentTypes
The HTTP accept content types. Sorted by quality values. This property can access after called determintAcceptContentType()
method.
$Container
protected
Container
$Container
$httpAcceptContentTypes
protected
array<string|int, mixed>
$httpAcceptContentTypes
The HTTP accept content types. Sorted by quality values. This property can access after called determintAcceptContentType()
method.
Methods
__construct()
Class constructor.
public
__construct([Container $Container = null ]) : mixed
Parameters
- $Container : Container = null
-
The DI container class. Only required for some method.
__get()
Magic get.
public
__get(string $name) : mixed
Parameters
- $name : string
-
The property name.
Return values
mixed —Return its value if found the property, return null if not found.
determineAcceptContentType()
Determine HTTP accept content-type.
public
determineAcceptContentType() : string
Tags
Return values
string —Return determined content type.