Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Http / Header / HeaderInterface.php
blob3b36e10b1a1172652466400e1698d589ecedb4ad
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Http\Header;
12 /**
13 * Interface for HTTP Header classes.
15 interface HeaderInterface
17 /**
18 * Factory to generate a header object from a string
20 * @param string $headerLine
21 * @return self
22 * @throws Exception\InvalidArgumentException If the header does not match RFC 2616 definition.
23 * @see http://tools.ietf.org/html/rfc2616#section-4.2
25 public static function fromString($headerLine);
27 /**
28 * Retrieve header name
30 * @return string
32 public function getFieldName();
34 /**
35 * Retrieve header value
37 * @return string
39 public function getFieldValue();
41 /**
42 * Cast to string
44 * Returns in form of "NAME: VALUE"
46 * @return string
48 public function toString();