ResponseFactory (Contracts)

ResponseFactory

interface ResponseFactory (View source)

Methods

Response make( string $content = '', int $status = 200, array $headers = array())

Return a new response from the application.

Response view( string $view, array $data = array(), int $status = 200, array $headers = ar