프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$ciParams | array | A list of parameter names for case-insensitive compare. Keys must be lower-cased. |
메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | array |