Headers.php 1.04 KB
<?php 

namespace Phalcon\Http\Response {

	/**
	 * Phalcon\Http\Response\Headers
	 *
	 * This class is a bag to manage the response headers
	 */
	
	class Headers implements \Phalcon\Http\Response\HeadersInterface {

		protected $_headers;

		/**
		 * Sets a header to be sent at the end of the request
		 *
		 * @param string $name
		 * @param string $value
		 */
		public function set($name, $value){ }


		/**
		 * Gets a header value from the internal bag
		 *
		 * @param string $name
		 * @return string
		 */
		public function get($name){ }


		/**
		 * Sets a raw header to be sent at the end of the request
		 *
		 * @param string $header
		 */
		public function setRaw($header){ }


		/**
		 * Sends the headers to the client
		 *
		 * @return boolean
		 */
		public function send(){ }


		/**
		 * Reset set headers
		 *
		 */
		public function reset(){ }


		/**
		 * Restore a \Phalcon\Http\Response\Headers object
		 *
		 * @param array $data
		 * @return \Phalcon\Http\Response\Headers
		 */
		public static function __set_state($data){ }

	}
}