ARouter  0.1.0
Annotation based router for your projects
HttpMessageConverterInterface Interface Reference

Public Member Functions

 getFormats ()
 
 toResponse ($object)
 

Detailed Description

Interface for Http message converters.

Member Function Documentation

◆ getFormats()

getFormats ( )

Get response formats supported by this converter.

Returns
string[]

◆ toResponse()

toResponse (   $object)

Covert object to Response object and return it.

Parameters
object$objectAny object that can be convertable to Response.
Returns
Response object.

The documentation for this interface was generated from the following file: