You are here

interface ResponseInterface in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-stdlib/src/ResponseInterface.php \Zend\Stdlib\ResponseInterface
  2. 8 vendor/psr/http-message/src/ResponseInterface.php \Psr\Http\Message\ResponseInterface
  3. 8 vendor/zendframework/zend-feed/src/Reader/Http/ResponseInterface.php \Zend\Feed\Reader\Http\ResponseInterface
Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/Http/ResponseInterface.php \Zend\Feed\Reader\Http\ResponseInterface

Hierarchy

Expanded class hierarchy of ResponseInterface

All classes that implement ResponseInterface

File

vendor/zendframework/zend-feed/src/Reader/Http/ResponseInterface.php, line 12

Namespace

Zend\Feed\Reader\Http
View source
interface ResponseInterface {

  /**
   * Retrieve the response body
   *
   * @return string
   */
  public function getBody();

  /**
   * Retrieve the HTTP response status code
   *
   * @return int
   */
  public function getStatusCode();

}

Members

Namesort descending Modifiers Type Description Overrides
ResponseInterface::getBody public function Retrieve the response body
ResponseInterface::getStatusCode public function Retrieve the HTTP response status code