PHP Class Tebru\Retrofit\Generation\Handler\HeaderHandler

Author: Nate Brunette ([email protected])
Inheritance: implements Tebru\Retrofit\Generation\Handler
Mostrar archivo Open project: tebru/retrofit-php

Public Methods

Method Description
__invoke ( HandlerContext $context ) : null Create header

Private Methods

Method Description
getContentTypeHeader ( HandlerContext $context ) : array Get content type and set to header

Method Details

__invoke() public method

Create header
public __invoke ( HandlerContext $context ) : null
$context Tebru\Retrofit\Generation\HandlerContext
return null