Overview

Namespaces

  • Baguette
    • Application
    • Response
    • Serializer
    • Session
  • Overview
  • Namespace
  • Class
 1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 
<?php

namespace Baguette\Response;

/**
 * Interface of Response classes
 *
 * @author    USAMI Kenta <tadsan@zonu.me>
 * @copyright 2016 Baguette HQ
 * @license   http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0
 */
interface ResponseInterface
{
    /** @return array */
    public function getResponseHeaders();

    /** @return int */
    public function getHttpStatusCode();

    /** @return string|\GuzzleHttp\Psr7\Stream|false */
    public function render(\Baguette\Application $app);
}
ξ ^ω^)ξ < Baguette Not Framework API documentation generated by ApiGen