src/Contracts/Factories/FactoryInterface.php
/**
     * Create media type for Accept HTTP header.
     *
     * @param int    $position
     * @param string $type
     * @param string $subType
     * @param array<string,string>|null $parameters
     * @param float  $quality
     *
     * @return AcceptMediaTypeInterface
     */
Create media type for Accept HTTP header.


Create media type for Accept HTTP header .
public function createAcceptMediaType(
        int $position,
        string $type,
        string $subType,
        array $parameters = null,
        float $quality = 1.0
    ): AcceptMediaTypeInterface;
public function createAcceptMediaType ( int $ position , string $ type , string $ subType , array $ parameters = null , float $ quality = 1.0 ) : AcceptMediaTypeInterface ;
Create media type for Accept HTTP header.
Create media type for Accept HTTP header .