Свойство | Type | Description | |
---|---|---|---|
$ciParams | array | A list of parameter names for case-insensitive compare. Keys must be lower-cased. |
Méthode | Description | |
---|---|---|
__construct ( string $type, string $subType, array $parameters = null ) | ||
equalsTo ( Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface $mediaType ) | ||
getMediaType ( ) | ||
getParameters ( ) | ||
getSubType ( ) | ||
getType ( ) | ||
matchesTo ( Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface $mediaType ) | ||
parse ( integer $position, string $mediaType ) : |
Parse media type. |
Méthode | Description | |
---|---|---|
bothMediaTypeParamsEmpty ( Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface $mediaType ) : boolean | ||
bothMediaTypeParamsNotEmptyAndEqualInSize ( Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface $mediaType ) : boolean | ||
isMediaParametersEqual ( Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface $mediaType ) : boolean | ||
isParamCaseInsensitive ( string $name ) : boolean | ||
isSubTypeEquals ( Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface $mediaType ) : boolean | ||
isSubTypeMatches ( Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface $mediaType ) : boolean | ||
isTypeEquals ( Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface $mediaType ) : boolean | ||
isTypeMatches ( Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface $mediaType ) : boolean | ||
paramValuesEqual ( string $name, string $value, string $valueToCompare ) : boolean |
public equalsTo ( Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface $mediaType ) | ||
$mediaType | Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface |
public matchesTo ( Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface $mediaType ) | ||
$mediaType | Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface |
protected array $ciParams | ||
Résultat | array |