<?php

class RscDtgs_Http_Response
{
  const AJAX = 'ajax';

  /**
   * @var string
   */
  public $content;

  /**
   * Creates the new response for chaining methods
   * @return RscDtgs_Http_Response
   */
  public static function create()
  {
    return new self();
  }

  /**
   * Sets the content of the response
   * @param string $content
   * @return RscDtgs_Http_Response
   */
  public function setContent($content)
  {
    $this->content = $content;
    return $this;
  }

  /**
   * Returns the content of the response
   * @return string
   */
  public function getContent()
  {
    return $this->content;
  }
}
