for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Ivory Http Adapter package.
*
* (c) Eric GELOEN <[email protected]>
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Ivory\HttpAdapter\Message;
use Psr\Http\Message\MessageInterface as PsrMessageInterface;
/**
* @author GeLo <[email protected]>
interface MessageInterface extends PsrMessageInterface
{
const PROTOCOL_VERSION_1_0 = '1.0';
const PROTOCOL_VERSION_1_1 = '1.1';
* @return array
public function getParameters();
* @param string $name
* @return bool
public function hasParameter($name);
* @return mixed
public function getParameter($name);
* @param mixed $value
* @return MessageInterface
public function withParameter($name, $value);
public function withAddedParameter($name, $value);
public function withoutParameter($name);
}