Caffeinated\Themes\Themes::response PHP Method

response() public method

Return a new theme view response from the application.
public response ( string $view, array $data = [], integer $status = 200, array $headers = [] ) : Response
$view string
$data array
$status integer
$headers array
return Symfony\Component\HttpFoundation\Response
    public function response($view, $data = array(), $status = 200, array $headers = array())
    {
        return new Response($this->view($view, $data), $status, $headers);
    }