PHP Class Neomerx\JsonApi\Http\Headers\HeaderParameters

Inheritance: implements Neomerx\JsonApi\Contracts\Http\Headers\HeaderParametersInterface
Mostra file Open project: neomerx/json-api

Public Methods

Method Description
__construct ( string $method, Neomerx\JsonApi\Contracts\Http\Headers\AcceptHeaderInterface $accept, Neomerx\JsonApi\Contracts\Http\Headers\HeaderInterface $contentType )
getAcceptHeader ( )
getContentTypeHeader ( )
getMethod ( )

Method Details

__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

getAcceptHeader() public method

public getAcceptHeader ( )

getContentTypeHeader() public method

getMethod() public method

public getMethod ( )