crunchbutton/include/library/Buzz/Message/Form/FormRequestInterface.php
2013-01-30 11:38:30 -08:00

28 lines
572 B
PHP
Executable File

<?php
namespace Buzz\Message\Form;
use Buzz\Message\RequestInterface;
/**
* An HTTP request message sent by a web form.
*
* @author Kris Wallsmith <kris.wallsmith@gmail.com>
*/
interface FormRequestInterface extends RequestInterface
{
/**
* Returns an array of field names and values.
*
* @return array A array of names and values
*/
function getFields();
/**
* Sets the form fields for the current request.
*
* @param array $fields An array of field names and values
*/
function setFields(array $fields);
}