Свойство | Тип | Описание | |
---|---|---|---|
$format | string | Default format. | |
$standardsTree | string | Standards tree. | |
$subtype | string | API subtype. | |
$version | string | Default version. |
Метод | Описание | |
---|---|---|
__construct ( string $standardsTree, string $subtype, string $version, string $format ) : void | Create a new accept parser instance. | |
parse ( Illuminate\Http\Request $request, boolean $strict = false ) : array | Parse the accept header on the incoming request. If strict is enabled then the accept header must be available and must be a valid match. |