Neomerx\JsonApi\Http\Headers\HeaderParameters::__construct PHP Method

__construct() public method

public __construct ( string $method, Neomerx\JsonApi\Contracts\Http\Headers\AcceptHeaderInterface $accept, Neomerx\JsonApi\Contracts\Http\Headers\HeaderInterface $contentType )
$method string
$accept Neomerx\JsonApi\Contracts\Http\Headers\AcceptHeaderInterface
$contentType Neomerx\JsonApi\Contracts\Http\Headers\HeaderInterface
    public function __construct($method, AcceptHeaderInterface $accept, HeaderInterface $contentType)
    {
        $this->accept = $accept;
        $this->contentType = $contentType;
        $this->method = $method;
    }